Linked Questions
99 questions linked to/from Plot draws list of curves in same color when not using Evaluate
23
votes
2answers
1k views
Where can I get detailed information on how the Plot command works?
The command
Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow
produces this output.
What I don't understand is what ...
22
votes
4answers
8k views
How do I use Map for a function with two arguments?
I'm a newbie who tries to be a good boy, and use Map instead of writing out a list of functions.
I have a table I want to Map ...
21
votes
6answers
4k views
All curves in plot have the same style. Cannot be fixed with Evaluate[]
Usually, when I plot multiple curves in Mathematica
Plot[{x,x^2,x^3},{x,0,1}]
they are given different colors. However, if I try to construct a list inside the <...
20
votes
5answers
2k views
18
votes
5answers
31k views
How to plot an ellipse?
I'm new to Mathematica, and I'm finding it difficult to plot an ellipse.
I tried using
Plot[(x/5)^2 + (y/3)^2 == 1, {x, -5, 5}, {y, -3, 3}]
but I'm getting ...
13
votes
6answers
803 views
An elegant way to plot a numeric function that returns a list, and have each element in a different color [duplicate]
I have a function that takes a numeric argument and returns a list of numbers. I want to plot each element of the list in a different color.
If I use this command,
...
13
votes
1answer
1k views
Why is this 2D plot so slow?
I first do a 3D Plot of four surfaces (eigenvalues of a $4\times4$ matrix) over $kx,kz$ (setting $ky=0$ all along). And then I try to give a 2D plot along three connected particular lines in $kx,kz$-...
12
votes
4answers
797 views
Plotting the components of a function that returns a list in different colors without redundant evaluations of the function
I have a function f which takes a number as input, and returns a list of numbers (the length of the list is constant). f is hard ...
11
votes
3answers
12k views
Plotting Partial Sums of Fourier Series
I'd like to plot some partial sums for a Fourier Series problem, but I am not sure if the output I am getting is correct. I want to be able to plot the partial sums and the function on the same graph. ...
8
votes
2answers
2k views
Normal[Series[ ]] does not give a normal expression
Let us say I want to show how the Taylor's series for Sin behaves:
...
8
votes
2answers
371 views
How can I plot a parametric equation with ±?
I want to draw a parametric equation with ± like the figure below:
But I don't get the result I want when I run the following code. What can I do to get it?
...
7
votes
1answer
1k views
Changing the plot variable inside Plot [duplicate]
Possible Duplicate:
Difference in Plot when using Evaluate vs when not using Evaluate
Assume one has vector of functions (e.g., vec={x,x^2}).
The command <...
7
votes
1answer
242 views
Prevent interdependence of controls
My question is probably best illustrated with this small sample code:
...
6
votes
3answers
2k views
Numerically integrating a list-valued function [duplicate]
I want to NIntegrate a List valued function foo[x] which is only defined for numerical ...
6
votes
3answers
623 views
How to disable differential styles/markers/etc. for multiple entities?
For functions that can produce multiple "style-able" entities, Mathematica by default will give each such entity a different style. Similar conventions apply to other features, either by default, or ...