#!/bin/csh -f

# Produces 2D plot of quantity of each score pair in standard input If
# the first line begins with a nonnumber, it is taken as a pair of
# labels for the axes.  In general, strings beginning with a nonnumber
# are nonnumeric, but strings beginning with a number of numeric value
# based on the initial portion of the string.

# Data values not in the range -infty to infty with infty=1000000
# probably won't show.

set fullprogname = $0
set fullprogname = `echo $fullprogname | sed 's+^\([^/]\)+./\1+'`
set progdir = $fullprogname:h
set progname = $fullprogname:t

cat $* | awk -f $progdir/hist2D.awk
