Linked Questions

1
vote
0answers
34 views

How do I set a PlotStyle when plotting a Table of functions? [duplicate]

I want to plot several functions each with its own color. A MWE is as follows : Plot[{2 x, 3 x}, {x, 0, 1}, PlotStyle -> {Red, Green}] which works fine. Now, ...
0
votes
0answers
31 views

Plotting multiple functions in one plot using iterative variable [duplicate]

This is a followup to this question. The following code Plot[{Sin[x], Sin[2 x], Sin[3 x]}, {x, 0, 2 Pi}] results in the following plot: The following code: <...
0
votes
0answers
29 views

Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
0
votes
0answers
28 views

Why these functions have the same color? [duplicate]

I have this code f[x_, n_] := Sum[ComplexExpand@Abs[Sin[x + k]], {k, 0, n}] Plot[Table[f[x, n], {n, 0, 5}], {x, -Pi, Pi}] but the graph is all of the same color ...
2
votes
0answers
28 views

Issue passing a list to last argument of ImplicitRegion (Scope issue?) [duplicate]

This is a very strange issue I'm having trying to pass a list as an argument to Mathematica's "ImplicitRegion" function. Here's the issue: ...
0
votes
0answers
24 views

Problem with PolarPlot and Table [duplicate]

If I have a set of numbers, for example grid = N[Table[n^2/2, {n, 3, 24}]] And want to plot that as circles I can either use Graphics[] and Circle[], or ...
0
votes
0answers
23 views

Question about a ParametricPlot with a shading grey family of lines and/or different sizes [duplicate]

So, I have this function of the polar angle $\theta$, with a varying parameter $t$: {Cos[\[Theta]] (1 + Sin[t]), Sin[\[Theta]]} and I want to draw it in a ...
0
votes
0answers
22 views

Why does Plot of Table uses the same color rather than Plot of explicit List? [duplicate]

The command Plot[{Sin[x], Cos[x]}, {x, 0, 10}, PlotRange -> {0, 1}] plots i.e. different functions plotted with different colors. Simultaneously ...
0
votes
0answers
22 views

How to automate plotting of many functions? [duplicate]

Consider Plot[{Sin[x], Cos[x]}, {x, 0, 10}] versus Plot[Table[Sin[x + i Pi/2], {i, 0, 1}], {x, 0, 10}] The first command ...
0
votes
0answers
19 views

Plot of list of functions have the same colour [duplicate]

When I execute Plot[{(# + 1 &)[x], (2*# + 3 &)[x]}, {x, -2, 2}] I get the following plots of different colours (as per the documentation): But when I ...
0
votes
0answers
14 views

Multiple plot for 2 variables function [duplicate]

I have a 2 variables function as below: m[n_] := 1.5 n^2 V[n_, r_] := (m[n]*m[n])/((r)^3) On the range of r from 1 to 20 I want to make 30 plot (30 different ...
0
votes
0answers
12 views

Through causes PlotStyle not to work properly with multiple functions [duplicate]

I think everything is demonstrated on this little example: Plot[{x, x^2, x^3}, {x, 0, 1}, PlotStyle -> {Black, Red, Blue}] produces plot with three lines, ...
22
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 <...
18
votes
5answers
32k 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 ...
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 ...

15 30 50 per page
1 2
3
4 5
7