#!/bin/csh -f

if ( `uname -s` == "Linux" ) then
        set GEOLOG6BIN=/opt/ptm/lnx/geolog6/bin
else if ( `uname -s` == "SunOS" ) then
        set GEOLOG6BIN=/opt/ptm/geolog6/bin
endif
echo Executable used: ${GEOLOG6BIN}/cgm_to_ps
set tmpcgm=/usr/tmp/$$.cgm
set width=900
set length=10000
set mono=false
set scale=no
set executable=${GEOLOG6BIN}/cgm_to_ps
set flip=false
set plotter=karst
set dpi=300
set mode=ps
set margin=20
cat > $tmpcgm
$MINSITE/plots/doplot $tmpcgm $width $length $mono $scale $executable \
	$flip $plotter $dpi $mode $margin &
echo Batching off with: $MINSITE/plots/doplot
