#! /bin/csh -f -e

# Draws a contour magnified

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

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

cat ${puzzle}-${file} \
  | nice ${bin}/PZDraw \
    -window ${puzzle}-mag \
    -outName ${puzzle}-${file:r}-mag \
    -dots ${puzzle}-${file} \
    -axes

ghostview -openwindows ${puzzle}-${file:r}-mag.ps

