GRAPH command

Syntax: | `GRAPH { 'legendtext' } x y { ye1 { xe1 { ye2 { xe2 }}}} GRAPH\POLAR r theta GRAPH\RADAR r theta`
Qualifiers: | `\AXESONLY, \OVERLAY, \POLAR, \RADAR, \REPLOT, \HISTOGRAM, \YONRIGHT, \XONTOP, \SMOOTH`
Defaults: | axes drawn, `\REPLOT, \-POLAR, \-RADAR, \-HISTOGRAM, \-YONRIGHT, \-XONTOP, \-SMOOTH,` legendtext ignored
Examples: | `GRAPH X Y GRAPH 'legend entry' X Y YERR XERR GRAPH\OVERLAY X Y GRAPH\OVERLAY\SMOOTH X Y GRAPH\HISTOGRAM X Y GRAPH\POLAR R THETA`

By default, the `GRAPH` command draws Cartesian axes.

If the `\POLAR` or the `\RADAR` qualifier is used, the data is assumed to be in polar coordinates, i.e., radius and angle (in degrees), and a polar plot will be drawn.

To draw: | use command:
data with axes | `GRAPH`
just the data | `GRAPH\OVERLAY`
just the axes | `GRAPH\AXESONLY`
y-axis on the right (Cartesian only) | `GRAPH\YONRIGHT`
x-axis on the top (Cartesian only) | `GRAPH\XONTOP`
smooth curve through the data (Cartesian only) | `GRAPH\SMOOTH`
histograms (Cartesian only) | `GRAPH\HISTOGRAM`

The parameters can be vectors or scalars. If input vectors have different lengths, a warning is issued and the minimum length of all of the input vectors will be used.

Polar plot
Plotting symbols
Graph legend
Axis scaling
Plot data and axes
Plot axes only
Plot data only
Plot a smooth curve through the data
Draw the y-axis on the right
Draw the x-axis on the top
Replot data on a common scale
Histograms
Error bars
Fill the area under a curve
A basic example
A script to plot a curve with axes
Getting the axis numbers right