#! /bin/csh -f # Last edited on 1999-09-04 11:37:01 by hcgl set usage = "$0 MAXDIST NBINS HISTFILE EPSFILE BAND TITLE XUNITS" # Draws a histogram of sample distances squared # The maximum value is assumed to be MAXNUM/MAXDEN, with 25 bins # on each side of the origin. if ( $#argv != 7 ) then echo "usage: ${usage}"; exit 1 endif set maxdist = "$1"; shift set nbins = "$1"; shift set hfile = "$1"; shift set pfile = "$1"; shift set band = "$1"; shift; set title = "$1"; shift set xunits = "$1"; shift echo "${hfile} -> ${pfile}" /n/image/bin/gnuplot <