This routine writes the elements of a short array into a file so that
they may be viewed later with a graphing program like `xmgr`.

The arguments are:

`array:`Input. The array that you want to graph.`n:`Input. The number of array elements that you want to graph. The elements used are`array[0..n-1]`.`name:`Input. Used to construct the output file name.`filenumber:`Input. The value of used to construct the output file name.

This function produces an output file with two columns, containing:

0 `array[0]`

1 `array[1]`

...
`n-1` `array[n-1]`

The name of this file is:
`name.` where is the integer specified by `filenumber`.
Note that if then is ``expanded" or ``padded" to three
digits. For example, calling
`sgraph(array,1024,"curious",9)`

will produce the file
`curious.009`

containing lines.

- Authors: Bruce Allen, ballen@dirac.phys.uwm.edu
- Comments: None.

Bruce Allen 2000-11-19