2k views

### How to assign different colors to list plotted in ParametricPlot? [duplicate]

Possible Duplicate: Difference in Plot when using Evaluate vs when not using Evaluate I am plotting galaxies and I would like to color them according to their redshift values using a temperature ...
473 views

### Why does Plot only sometimes use different colors for each curve [duplicate]

In this example Plot does not color each curve differently: Plot[{vx0 Sin[t], vy0 Cos[t]} /. {vy0 -> 1, vx0 -> 1}, {t, 0, 12}] but in this example it does: ...
950 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 <...
6k views

### Plot a table of functions with different color [duplicate]

I have a function with two independent variables: SNR[t_, f_] := 20 Log10[1/(2 Pi f t)] And I have a list for "t" ...
356 views

### Plotting function lists [duplicate]

Possible Duplicate: Difference in Plot when using Evaluate vs when not using Evaluate Why do I have to put Evaluate[] here Why is ContourPlot not displaying this curve? Why is nothing (empty ...
3k views

...
654 views

### PlotStyle does not work when plotting a non-evaluated list of functions [duplicate]

When a list of functions is passed to Plot in an unevaluated form (e.g. with Through), the result is a plot with single color. <...
831 views

### Plot multiple solutions [duplicate]

I want to plot multiple solutions of an equation, so that one can differ them in the plot. The given equation is e.g. ...
379 views

### Beautify a NDSolve Graph ! [duplicate]

I am doing the following: ...
527 views

### List of Inequalities in RegionPlot with different colors [duplicate]

Starting from the example of the Documentation: RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Which gives a nice plot with two ...
406 views

### How I style and label individual curves in a ParametricPlot? [duplicate]

I have what I think is a ParametricPlot that is no different in structure from the example for explicitly styling different curves provided in the documentation: <...
161 views

### Reproducing a Plot done with WolframAlpha [duplicate]

I have problem to draw in Mathematica a plot like this: Plot[{Sum[a^10*(-1)^(x-a), {a, 1, x}]}, {x, 1, 10}] The problem is that on the plot there is no graph. As ...
93 views

### Plot multiple lines with colour and legends [duplicate]

Function of interest: f[n_, r_] := (1 - r^2)^((n - 4)/2)/(Beta[1/2, (n - 2)/2]) In separate graphs: ...
156 views

### How to label/color multiple plots, generated by Table? [duplicate]

I have plotted ...
70 views

### ReplaceAll and PlotStyle and PlotLegends in multiple curves [duplicate]

Why do PlotStyle and PlotLegends take only a single style for all the curves if ReplaceAll ...
65 views

### Failing to get colours in Plot [duplicate]

When I plot the functions generated by NestList, I do not see differently coloured lines, which I do if I explicitly list them out. I.e. with: ...
53 views

### How to plot graph of 2 list plots? [duplicate]

I have two Listsoflist containing x and y coordinates. Now, I want to plot the two profiles, show their intersection and find the area of each intersecting region. I have used interpolating function ...
66 views

### Plot command uses same colors when applying pattern on list [duplicate]

When I do Plot[{fun1,fun2} ./ val1->1,{t,0,10}] then both plots are in the same color! If I use instead ...
85 views

...
71 views

Equations: ...
70 views

### Problem in Plot at start [duplicate]

The derivative can be used to calculate roots. However the same function cannot be plotted.The error is at start point of domain: ...
38 views

### PlotLegend[ not working] [duplicate]

I am trying to use plotlegend for solutions I've obtained using NDSolve. I have Plot[{a[z], b[z]} /. sol , {z, 0, L}, PlotLegends -> {"1", "2"}] It doesn't ...
56 views

### The use of Evaluate in NDSolve and Plotting the answer [duplicate]

I am having a bit of hard time understanding the use of Evaluate when plotting the output of NDSolve. From the documentation, I enter: ...
47 views

### Colouring of multiple data sets in DiscretePlot [duplicate]

I noticed the following strange behaviour: Let us first define an array of functions g[k_] := {Sin[k], 2*Sin[k]} gg = g[k] When I plot this array of ...
45 views

### How to Plot with different styles different InterpolatingFunction [duplicate]

Im sorry for this question I'm new and it may be a stupid question, but I can't find nothing specific. I have these differential equations and NDSolve give me <...
37 views

### Parametric plot refuses to assign unique plot styles [duplicate]

I want to plot the motion on n bodies. To do this I have set up three variables that return a list of variables to be evaluated by an ...
32 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, ...
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: ...
28 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: <...
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 ...
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: ...
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 ...
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 ...
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 ...
19 views

### Plotting multiples figures using rules [duplicate]

Consider the following: rule = {a -> x+1, b -> x^2, c -> 3x^3+1} Plot[{a, b, c} /. rule, {x, 0, 1}] This, unfortunately, does not color each plot with a ...
19 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 ...
18 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 ...
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 ...
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 <...
27k 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 ...
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 ...
2k views

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

I've got this code ...
925 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 ...
752 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, ...
11k 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. ...
714 views

### Help on evaluation control?

I want to plot series of slopes: x, 2x, 3x, 4x, 5x, 6x... I'm trying to do this: ...
801 views

### Plot all curves in a table with a single color

I want all of my solutions in a table to be the same color. My attempt: ...
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: ...
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$-...