Linked Questions

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
23 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

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
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
21 views

Plot 2 functions, and function defining practise [duplicate]

I would like to plot the f1 and f2 functions on the same plot. The problem is that all functions are green on the plots. Is this a good practice to define the f1 and f2 functions and the rules like ...
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 ...
21
votes
6answers
3k 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 <...
16
votes
4answers
29k 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 ...
20
votes
4answers
7k 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 ...
20
votes
5answers
2k views

Proper way to Plot a single function in two different styles?

I've got this code ...
23
votes
2answers
999 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 ...
13
votes
6answers
773 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, ...

15 30 50 per page
1 2
3
4 5
7