From 94935f80fac8d1275142d73b1a6b6d6492cc8207 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sat, 30 Nov 2019 19:24:20 +0100 Subject: Animate tow level systems --- gnuplot/anim2d.plt | 15 +++++++++++++++ gnuplot/anim3d.plt | 11 +++++++++++ gnuplot/animation.plt | 11 ----------- 3 files changed, 26 insertions(+), 11 deletions(-) create mode 100644 gnuplot/anim2d.plt create mode 100644 gnuplot/anim3d.plt delete mode 100644 gnuplot/animation.plt (limited to 'gnuplot') 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/anim3d.plt b/gnuplot/anim3d.plt new file mode 100644 index 0000000..99cfe10 --- /dev/null +++ b/gnuplot/anim3d.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 using 1:2:3:6 w points palette pointsize 2 pointtype 7#, \ + pause 0.1 +} + +pause mouse close diff --git a/gnuplot/animation.plt b/gnuplot/animation.plt deleted file mode 100644 index 6228a53..0000000 --- a/gnuplot/animation.plt +++ /dev/null @@ -1,11 +0,0 @@ -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 -- cgit v1.2.3-70-g09d2