- #1
member 428835
Hi PF!
I am trying to plot several quadratics along with two numerical solutions to some ODE's. The command I entered for the two ODE's is
Plot[{{Evaluate[y[x] /. t]}, {Evaluate[y[x] /. s]}}, {x, 0, 1.2},
PlotRange -> All]
where s and t have been previously defined.
The plot for the quadratics is
Plot[Table[-.35 (1 - x)^2 + (1 - a)/2 (1 - x), {a,
Range[-1/5, 0, .06]}] // Evaluate, {x, 0, 1.2},
PlotLegends -> mList]
Both these commands give me plots, but I'd like them all to be on the same graph. Can someone please help?
Thanks so much!
I am trying to plot several quadratics along with two numerical solutions to some ODE's. The command I entered for the two ODE's is
Plot[{{Evaluate[y[x] /. t]}, {Evaluate[y[x] /. s]}}, {x, 0, 1.2},
PlotRange -> All]
where s and t have been previously defined.
The plot for the quadratics is
Plot[Table[-.35 (1 - x)^2 + (1 - a)/2 (1 - x), {a,
Range[-1/5, 0, .06]}] // Evaluate, {x, 0, 1.2},
PlotLegends -> mList]
Both these commands give me plots, but I'd like them all to be on the same graph. Can someone please help?
Thanks so much!