This is the thesis
[matches/honours.git] / thesis / simulation / egun / movie.sh~
1 for i in *.dat; do
2         echo $i
3         out=$( echo $i | sed 's:\.dat::g')
4         gnuplot -e "set contour base; set cntrparam level incremental -1,0.25,1; unset surface; set table \"cont.dat\"; splot \"$i\" u 1:2:3; unset table; set term png size \"640,480\"; set output \"$out.png\"; set xrange [0:]; set yrange [0:]; set zrange [-1:1]; set title \"$i\"; unset key; set palette rgbformulae 33,13,10; plot \"$i\" w image, \"cont.dat\" w l lt -1 lw 1.5, \"electron.dat\" u 2:3 w lp"
5 done
6
7 ffmpeg -r 10 -b 1024k -i %d.png movie.mp4
8

UCC git Repository :: git.ucc.asn.au