diff options
| author | Connor Moore <connor@hhmoore.ca> | 2026-03-23 01:40:30 -0400 |
|---|---|---|
| committer | Connor Moore <connor@hhmoore.ca> | 2026-03-23 01:40:30 -0400 |
| commit | 5b08f435327695bb633cd21ae8252b25528de3f6 (patch) | |
| tree | 7eb5cdfa0acded8eaf8f1881e8542fe7b441d67c /report/Figures/movie_plot.gnu | |
| parent | f7ad40d801e30f542baaf471e0b0d08aacc212ee (diff) | |
Diffstat (limited to 'report/Figures/movie_plot.gnu')
| -rw-r--r-- | report/Figures/movie_plot.gnu | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/report/Figures/movie_plot.gnu b/report/Figures/movie_plot.gnu new file mode 100644 index 0000000..683753c --- /dev/null +++ b/report/Figures/movie_plot.gnu @@ -0,0 +1,20 @@ +set term x11 noraise +set xrange [-0.6:0.6] +set yrange [-0.6:0.6] +set size square +set key outside top center +set object rectangle from -0.5,-0.5 to 0.5,0.5 dt 3 + +stats 'trajectories.out' nooutput + +do for [i=0:STATS_blocks-1] { + plot 'trajectories.out' index i with points pt 7 ps 0.5 title sprintf("Frame %i out of %i", i, STATS_blocks-1) + pause 0.0001 +} + +set term gif size 500,500 animate delay 0.001 +set output "wiggly.gif" + +do for [i=0:STATS_blocks-1:5] { + plot 'trajectories.out' index i with points pt 7 ps 0.5 title sprintf("Frame %i out of %i", i, STATS_blocks-1) +} |
