#! /bin/sh ifile=$1 ofile=$2 label=$3 wait=$4 outfile=$5 date=`date '+%D %H:%M'` sm -s << FIN macro read macros_dhw if ($wait) {xterm_p} else {laser_pp $outfile\n lweight 2} expand 0.9 da $ifile read {irho 1 iu 2 itemp 3} set is=1.5*ln(irho*itemp/(irho**1.666667)) set i=0,dimen(irho)-1,1 set x=i/dimen(irho) da times read row times 1 da $ofile read {t 1 rho 2 u 3 temp 4} set s=1.5*ln(rho*temp/(rho**1.666667)) set rholim=rho if (t