
complex(x,y) = x*{1,0}+y*{0,1}
mandel(x,y,z,n) = (abs(z)>2.0 || n>=1000) ? n : mandel(x,y,z*z+complex(x,y),n+1)
set xrange [-1.5:0.5]
set yrange [-1:1]
set logscale z
set isosample 50
set hidden3d
set contour
splot mandel(x,y,{0,0},0) notitle
|
0.000000 0.000000 0.100000 0.099833 ................ ................ 3.500000 0.730990 3.600000 0.862848 3.700000 1.036497 3.800000 1.257597 3.900000 1.532184 4.000000 1.866667 |
and enter your home directory.
plot "junk.dat", x**3-x |




mergegif -5 01.gif 02.gif 03.gif 04.gif 05.gif > animation.gif