03-31-2022 07:41 PM
hi i have a problem with solving Lorenz equations (i want to plot the 3d graph of the system ) the problem is that i have perfectly made what the equations said but nothing happen (i used for loop and shift register for that ( it must do 20000 iterations))
the code bellow is my try can i have some help!
03-31-2022 10:22 PM
Your code (I think) works perfectly, and accomplishes exactly what you ask it to do.
Look up the difference between a Chart (typically used to plot ongoing functions of time, like a "Chart recorder" or an Oscilloscope, with the X axis continually "evolving" and the Y axis being the time-varying data of interest) and a Graph (where X and Y are just co-varying variables, not necessarily Y(x), as with a Chart).
A Graph typically plots 100 points. Look at your Plot after you plot 20000 points -- you should see the X (time) axis showing you the data from point 19899 to 19999. If you look closely, you'll see the data plotted along the bottom of each graph.
Try plotting the first 200 points. This might be more "interesting"...
Bob Schor