Lorenz equation example

return to vplot home page

Here is another example, the familar strange attractor of the Lorenz equations:

pix
The above is NOT from vplot. Rather, it is an example of what gnuplot is capable of.

Above is a plot of a x(t),y(t) and z(t). The projection in the (x,z) plane is plotted. But suppose you want also to plot information about y(t) on a two-dimensional plot. One possibility is to represent the value of y with a color: shading from blue for negative towards red for positive. However, the familiar plotting programs might not give you these sort of capabilities, and you will need to make such a plot from graphics primitives:

pix
The above is plotted using vplot. y(t) is indicated by the color, with red positive and blue negative.


Here are the scripts to make the plots of the attractor: