summaryrefslogtreecommitdiff
path: root/gnuplot.plt
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot.plt')
-rw-r--r--gnuplot.plt20
1 files changed, 17 insertions, 3 deletions
diff --git a/gnuplot.plt b/gnuplot.plt
index ea5e043..f94ccdb 100644
--- a/gnuplot.plt
+++ b/gnuplot.plt
@@ -1,7 +1,21 @@
set view equal xyz
set parametric
set isosamples 34,34
-splot cos(u)*cos(v),cos(u)*sin(v),sin(u) w l lc rgb "#42a4f5"
-replot 'data' w points palette pointsize 2 pointtype 7
-;
+unset colorbox
+unset key
+
+iterations = 100
+states = 6
+
+do for [ii=1:iterations] {
+ splot cos(u)*cos(v),cos(u)*sin(v),sin(u) w l lc rgb "#42a4f5", \
+ 'data' every ::1::ii * states w points palette pointsize 2 pointtype 7#, \
+ #do for [ij=1:states] {
+ # ic = ij * iterations + ii
+ # replot 'data' every ::ij * iterations::ic w points palette pointsize 2 pointtype 7#, \
+ # #'data' every ::ij * iterations::ic w p palette
+ #}
+ pause 0.1
+}
+
pause mouse close