summaryrefslogtreecommitdiff
path: root/gnuplot
diff options
context:
space:
mode:
Diffstat (limited to 'gnuplot')
-rw-r--r--gnuplot/anim2d.plt3
-rw-r--r--gnuplot/anim3d.plt4
2 files changed, 5 insertions, 2 deletions
diff --git a/gnuplot/anim2d.plt b/gnuplot/anim2d.plt
index 38b8d5a..f131c1f 100644
--- a/gnuplot/anim2d.plt
+++ b/gnuplot/anim2d.plt
@@ -8,7 +8,8 @@ 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
+ plot 'data' every ::ii::ii * states using 4:5:6 w points palette pointsize 2 pointtype 7, \
+ 'data' every ::1::ii * states using 4:5:6 w l palette lw 3
pause 0.1
}
diff --git a/gnuplot/anim3d.plt b/gnuplot/anim3d.plt
index 99cfe10..05d9f51 100644
--- a/gnuplot/anim3d.plt
+++ b/gnuplot/anim3d.plt
@@ -2,9 +2,11 @@ set view equal xyz
set parametric
set isosamples 34,34
+ii = start
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#, \
+ 'data' every ::ii - states::ii * states using 1:2:3:6 w points palette pointsize 1.2 pointtype 7, \
+ 'data' every ::1::ii * states using 1:2:3:6 w l palette
pause 0.1
}