summaryrefslogtreecommitdiff
path: root/gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot')
-rw-r--r--gnuplot/anim2d.plt15
-rw-r--r--gnuplot/anim3d.plt (renamed from gnuplot/animation.plt)2
2 files changed, 16 insertions, 1 deletions
diff --git a/gnuplot/anim2d.plt b/gnuplot/anim2d.plt
new file mode 100644
index 0000000..38b8d5a
--- /dev/null
+++ b/gnuplot/anim2d.plt
@@ -0,0 +1,15 @@
+set size square
+set xrange [-1.1:1.1]
+set yrange [-1.1:1.1]
+set xlabel "Re(V)"
+set ylabel "Im(V)"
+set xzeroaxis
+set yzeroaxis
+set object circle at 0,0 size 1
+
+do for [ii=start:end] {
+ plot 'data' every ::1::ii * states using 4:5:6 w points palette pointsize 2 pointtype 7
+ pause 0.1
+}
+
+pause mouse close
diff --git a/gnuplot/animation.plt b/gnuplot/anim3d.plt
index 6228a53..99cfe10 100644
--- a/gnuplot/animation.plt
+++ b/gnuplot/anim3d.plt
@@ -4,7 +4,7 @@ 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#, \
+ 'data' every ::1::ii * states using 1:2:3:6 w points palette pointsize 2 pointtype 7#, \
pause 0.1
}