#! /bin/csh

set puzzle = "$1"; shift
set num = "$1"; shift

gnuplot <<EOF
set terminal x11
set xrange [0:1000]
set yrange [0:2000]
plot "${puzzle}-${num}-bpw.plt" using 1:3 with impulses
pause 30
EOF

gnuplot <<EOF
set terminal x11
set xrange [0:50]
set yrange [0:2000]
plot "${puzzle}-${num}-fpw.plt" using 1:3 with impulses
pause 300
EOF
