#! /bin/csh -f -e

set bin = /home/phd/hcgl/modula/PZDraw/SOLgnu

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

cat ${puzzle}-${file} \
  | nice ${bin}/PZDraw \
    -window ${puzzle}-vel \
    -outName ${puzzle}-${file:r}-vel \
    -grid 25 \
    -axes
    
# \
#     -plotStep 0.005 -cubic
    
ghostview -openwindows ${puzzle}-${file:r}-vel.ps

