#! /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 pos \
    -outName ${puzzle}-${file:r} \
    -grid 25 \
    -axes
    
#  \
# -plotStep 1 \
# -cubic
    
ghostview -openwindows ${puzzle}-${file:r}.ps

