477 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: ...
72 views

How to Plot several functions using differents colors , It is possible to use TeX or MathSymbols?

The question is to plot several functions with different colors. Using a Table, which contains important information into it. You can see in the example above three functions with different values ...
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: ...
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 ...
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 ...
71 views

Plotting Solve output automatically

I am trying to solve a characteristic polynomial and plotting its output. The problem is that I do not know how to take the output automatically. My current code is ...
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 ...
64 views

plotting several curves with the same function

Instead of using Show[Plot[f[x]/.{L->1},{x,0,1}],Plot[f[x]/.{L->2},{x,0,1}], Plot[f[x]/.{L->3},{x,0,1}]], I was wondering if there is a much simpler way by ...
56 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 ...
111 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: ...
96 views

PlotLegends with Expressions from Table don't show up

Let's say I have a plot: Plot[{Sin[x], Sin[2 x]}, {x, 0, 2 \[Pi]}, PlotLegends -> "Expressions"] Everything is fine. But if I write: ...
128 views

Preserving the colours with Manipulate

I am trying to get the correct colors for my curves. I have this code ...
194 views

Getting rid of vertical lines in plot

How can I get rid of red vertical line in below plot? Could any onehelp me? ...