Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.
1
vote
Manipulate Sine plot
Plot3D[Sin[a*x], {a,0,10},{x, 0, 10}]
2
votes
ListPlot and list manipulation
This method is very general and goes beyond translation and scaling:
ListLinePlot[{{#[[1]], #[[2]]} & /@ data, {2 #[[1]], #[[3]]} & /@ data}]
0
votes
Why does the plot of a continuous function have gaps
Better plot the real part with Re (nulling the spurious imaginary part) instead of using Chop (nulling the spurious imaginary part if it is below a threshold; but also nulling the real part if it gets …
0
votes
Plotting waves intensities as colors
This works:
Plot[I1[y] + I2[y] + I3[y], {y, -0.0000001, 0.0000001},
ColorFunctionScaling -> False,
ColorFunction -> (Blend[{Blue, Yellow, Red}, {I1[#], I2[#], I3[#]}] &)]
4
votes
Accepted
Plot3D: ColorFunction depending on (x,y) or z
As the documentation on ColorFunctionScaling says,
ColorFunctionScaling is an option for graphics functions that specifies whether arguments supplied to a color function should be scaled to lie be …
2
votes
Accepted
Plotting two large columns
ListLinePlot[Transpose[Flatten /@ {col1, col2}]]
The problem is that your col1 and col2 aren't lists, as you say, but rather they are $2485\times1$ matrices.
3
votes
Accepted
How to plot the derivative of an interpolation function?
Define
F[x_] = f[x] /. sol[[1]]
and now you can use F[x] and F'[x].
3
votes
Plot two functions on the same plane, $y=f(x)$ and $x=g(y)$
Both kinds of plots can be thought of as parametric plots, where for the first one $x$ is the independent parameter and for the second one $y$ is the independent parameter. With ParametricPlot take a …
5
votes
How to ternary Plot3D a function
Plotting your function, you need to multiply these with $\pi$ to get your desired range.
Here's a very simplistic way of plotting that does not generate any tick marks. …
2
votes
Exchanging X and Y axes
Flip horizontal & vertical axes:
ListLinePlot[Reverse /@ data]
4
votes
Good way to plot exactly overlapping data
Use Thickness in descending order. I'm exaggerating here, but you see the idea:
Plot[{0, x, x^2, x^3}, {x, -1, 1}, Frame -> True, Axes -> False,
PlotStyle -> Thickness /@ {0.04, 0.03, 0.02, 0.01}] …
3
votes
Plotting a single point with ListPlot gives strange outcome
xy = {{0, 0.963738}};
P = ListPlot[xy, PlotRange -> {{0, 10}, {0.5, 1}}, PlotStyle -> Thick]
Or use Epilog:
Plot[Sin[x], {x, 0, 10}, Epilog -> {PointSize[0.02], Point /@ xy}]
2
votes
contour plot 3d fix the problem
Your function does not depend on $y$ and $z$:
ContourPlot[Im[-1.141088662*I - (.2852721655*Sqrt[8]*Sqrt[2])/
Tan[(2*Sqrt[2]*(0.6510416668*I*Sqrt[8]*x + (.2260561342*I)*Sqrt[8]*Sqrt[t] + 1))]],
{x …
1
vote
Accepted
Plot multiple functions in wolfram mathematica
y = 3*Sin[x];
z = Tanh[y];
Plot[{z, Sin[x]}, {x, -2π, 2π}]
5
votes
Convex and conical combination
v1 = {1, 0.2, 0.2}; v2 = {0.2, 2, 0.2}; v3 = {0.2, 0.2, 3};
Define an implicit region that satisfies your constraints:
V = Transpose[{v1, v2, v3}];
R = ImplicitRegion[Thread[LinearSolve[V, {x, y, z}] …