#!/bin/sh # if [ -r $1.ctr ]; then mapcont $2 $3 $4 $5 $6 <$1.ctr >$1.ctr.cart echo "set parametric" >$1.ctr.plt echo "set contour" >>$1.ctr.plt echo "set title \"Cone Angle 3D Contour Plot of $1\"" >>$1.ctr.plt echo "set terminal postscript portrait solid" >>$1.ctr.plt echo "set size .8, 1.3" >>$1.ctr.plt echo "set output \"$1.ps\"" >>$1.ctr.plt echo "set nokey" >>$1.ctr.plt echo "splot \"$1.ctr.cart\" with lines" >>$1.ctr.plt echo "exit" >>$1.ctr.plt gnuplot $1.ctr.plt >gnuplot.log ghostview $1.ps #latex $1.tex #dvilj $1.dvi #lpr -Plaser $1.lj else echo "Error $1.ctr file not found" echo "Did you set the contour output option in \"change settings mode\"" fi