[BACK]Return to gnuplot.rot CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gnuplot / demo

Annotation of OpenXM_contrib/gnuplot/demo/gnuplot.rot, Revision 1.1.1.1

1.1       maekawa     1: # HBB: revised open-ended animation routine. Used to just turn
                      2: # round and round by somewhat large steps. Now, it tumbles
                      3: # back and forth smoothly.
                      4: # If 'limit_iterations' is set to a nonzero value, it'll stop after that
                      5: # many iterations (iteration_count=0 has to be set before this
                      6: # script is called)
                      7: zrot=(zrot+10)%360
                      8: xrot=(xrot+17)%180
                      9: set view (50.+30.*sin(xrot/180.*pi)),60.+45.*sin(zrot/180.*pi)
                     10: replot
                     11: iteration_count=iteration_count+1
                     12: if ((!limit_iterations) || (iteration_count<=limit_iterations)) reread

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>