Add gnuplot sequence output for animated videos
This commit is contained in:
parent
b2f9d41582
commit
34f65b8fc3
15
PoissonSolver/2D-seq/animate.plot
Normal file
15
PoissonSolver/2D-seq/animate.plot
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
set term png size 1024,768 enhanced font ,12
|
||||||
|
set datafile separator whitespace
|
||||||
|
set grid
|
||||||
|
set hidden3d
|
||||||
|
set xrange [0:40]
|
||||||
|
set yrange [0:40]
|
||||||
|
set zrange [-2:2]
|
||||||
|
|
||||||
|
input(n) = sprintf("p-%d.dat", n)
|
||||||
|
output(n) = sprintf("%03d.png", n)
|
||||||
|
|
||||||
|
do for [i=1:50] {
|
||||||
|
set output output(i)
|
||||||
|
splot input(i) matrix using 1:2:3 with lines
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user