This is a useful function for debugging, and exactly like the function graph(), except that it's intended for short integer values. It pops up a graph on the computer screen (using the graphing program xmgr) showing a graph of some array which you happen to want to look at.
The arguments are:
This function is a handy way to get a quick look at the contents of
some array. It writes the output to a temporary file and then starts
up xmgr, reading the input from the file. The
values are
evenly spaced integers from
to n-1. The
values are the
points in array[ ].
Note that in order not to produce too much garbage on the screen, any output or error messages from xmgr are tossed into /dev/null!