This is the thesis
[matches/honours.git] / thesis / simulation / egun / plot.sh~
1 #!/bin/bash
2
3 output=$2
4 if [ "$output" != "" ]; then
5         output="set term png size \"640,480\"; set output \"$output.png\""
6 fi
7
8 plot="main.dat"
9
10 gnuplot --persist -e "set contour base; set cntrparam level incremental -1,0.25,1; unset surface; set table \"cont.dat\"; splot \"$plot\" u 1:2:3; unset table; $output; set xrange [0:]; set yrange [0:]; set zrange [-1:1]; set title \"$1\"; unset key; set palette rgbformulae 33,13,10; plot \"$plot\" w image, \"cont.dat\" w l lt -1 lw 1.5, \"$1\" u 2:3 w l lt 6 lw 3"

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