void scales (nxdiv, nydiv, x, y, npts)  LINPLT.C Level 2
int nxdiv  The number of x axis divisions.
int nydiv  The number of y axis divisions.
float *x  The vector of x data.
float *y  The vector of y data.
int npts  The number of data points in the x and y vectors.
scales() is the self-scaling routine for linear plots. It calculates the maximum and minimum values of x and y, and chooses the appropriate set of round numbers to use as axis labels and then calls graf(). The data must be calculated before scales() is called.

The warnings about axis scale ranges given under graf() still pertain.