www.pudn.com > Cwell.rar > NextCwell


#! /bin/sh
# Run cwell with CWP X Graphics

demo=8
MACHINE=keller
USER="-l jkc"  # not needed if same username on both machines

# If NEXTFILE1, etc. is empty (eg. comment off), display with image on NeXT
NEXTFILE1="~jkc/Images/CWELL/demo${demo}graph.eps"
NEXTFILE2="~jkc/Images/CWELL/demo${demo}wig.eps"

if [ -z "$NEXTFILE1" ]
then
	remoteCommand1="images"
else
	remoteCommand1="cat >$NEXTFILE1"
fi

if [ -z "$NEXTFILE2" ]
then
	remoteCommand2="images"
else
	remoteCommand2="cat >$NEXTFILE2"
fi


x1beg=0 x1end=6500 x2beg=-100 x2end=10000

cwell |
cshotplot >demo${demo}plot  outpar=demo${demo}par

psgraph