15 lines
494 B
Gnuplot
15 lines
494 B
Gnuplot
## plotpolya.gp 1/19/17 aev
|
|
## Plotting a polyspiral and writing to the png-file. Simple plot for animation.
|
|
## Note: assign variables: rng, d, clr, filename (before using load command).
|
|
## ==== NO ttl (title) in this version.
|
|
reset
|
|
set terminal png font arial 12 size 640,640
|
|
ofn=filename.".png"
|
|
set output ofn
|
|
unset border; unset xtics; unset ytics; unset key;
|
|
set parametric
|
|
c=rng*pi; set xrange[-c:c]; set yrange[-c:c];
|
|
set dummy t
|
|
plot [0:c] t*cos(d*t), t*sin(d*t) lt rgb @clr
|
|
set output
|