- #1
jemma
- 36
- 0
I would like to generate a plot displaying the parameter t on the x axis, varying from 0 to 0.95 and the corresponding values of e1. My code below does what I want (I think) but is plotting all the different points on different graphs (all 950 of them!). How can I get it to plot on the same graph? Thanks
For[i = 0, i ≤ 950, ++i,
ListPlot[e1 /. NSolve[{equ1 == 0, equ2 == 0, equ3 == 0}
/. t -> i/1000.0, {e1, e2, e3}]]]
For[i = 0, i ≤ 950, ++i,
ListPlot[e1 /. NSolve[{equ1 == 0, equ2 == 0, equ3 == 0}
/. t -> i/1000.0, {e1, e2, e3}]]]