#! /bin/csh -f

# Usage: do-test SIGMA

set sigma = "$1"; shift;

TestGaussian -sigma ${sigma} > gaussian.plt

gnuplot <<EOF
  set term x11
  plot \
    "gaussian.plt" using 1:2 title "PZSmooth.u" with points, \
    "gaussian.plt" using 1:3 title "PZSmooth.v" with points, \
    "gaussian.plt" using 1:4 title "PZSmooth.w" with points, \
    "gaussian.plt" using 1:5 title "gauss  "    with lines, \
    "gaussian.plt" using 1:6 title "gauss' "    with lines, \
    "gaussian.plt" using 1:7 title "gauss''"    with lines
pause 300
quit
EOF
