summaryrefslogtreecommitdiff
path: root/gnuplot/animation.plt
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot/animation.plt')
-rw-r--r--gnuplot/animation.plt11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnuplot/animation.plt b/gnuplot/animation.plt
new file mode 100644
index 0000000..6228a53
--- /dev/null
+++ b/gnuplot/animation.plt
@@ -0,0 +1,11 @@
+set view equal xyz
+set parametric
+set isosamples 34,34
+
+do for [ii=start:end] {
+ 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#, \
+ pause 0.1
+}
+
+pause mouse close