Hist has some command line help:
[pcfk] /var/pcfl/usera/lester > ~lester/proj/scripts/hist --help
Usage:
hist [help] mode [hist|hist2D|histWeighted|hist2DWeighted]
[showargs] [mark] [overwrite] [quit] [nobox] [box] [notitle]
[title TITLE] [boxx N] [boxy N] [eps FILENAME.eps]
[pdf FILENAME.pdf] [svg FILENAME.svg] [png FILENAME.png]
[logy] [logz] [rainbow] [allanach] [greyscale] [userpal W R G B]
[colourscale] [noautoscalezcolours] [fillvoid] [nofillvoid]
[l N] [lx N] [ly N] [u N] [ux N] [uy N] [lz N] [uz N]
[n N] [nx N] [ny N] [style STYLE] [dump FILENAME]
[xname NAME] [yname NAME] [rightjustify] [centrejustify]
[ynamedirection UP|DOWN|NORMAL]
Test "hist" is working by pasting the following into a termainal verbatim. The "gv" step is only necessary if everything happens too fast for you to see!
For more examples, click here.
rm -f /tmp/1D.eps
~lester/proj/c++/hist/normalDist | \
head -50000 | \
~lester/proj/scripts/hist eps /tmp/1D.eps quit
gv /tmp/1D.eps
After a few seconds delay you should see something like this:

Here is another one:
~lester/proj/c++/hist/normalDist | \
gawk '{print $1,$1+last; last=$1}' | \
head -100000 | \
~lester/proj/scripts/hist2D eps /tmp/2D.eps quit rainbow n 60 nobox l -4 u 4
generates:

Purists may prefer
~lester/proj/c++/hist/normalDist | \
gawk '{print $1,$1+last; last=$1}' | \
head -100000 | \
~lester/proj/scripts/hist2D eps /tmp/2DG.eps quit n 60 nobox l -4 u 4
which generates: