SCALES command

Syntax: SCALES { minx maxx nlxinc miny maxy nlyinc }
SCALES minx maxx miny maxy
Qualifiers: \COMMENSURATE
Defaults: nlxinc=0 & nlyinc=0 if not entered, non-commensurate axes

The SCALES command turns off the autoscaling feature, as set by the AUTOSCALE characteristic, and sets the graph scales for subsequent graphs as follows:

minx - minimum value to display on the x-axis
maxx - maximum value to display on the x-axis
nlxinc - number of large (numbered) tic marks on the x-axis
miny - minimum value to display on the y-axis
maxy - maximum value to display on the y-axis
nlyinc - number of large (numbered) tic marks on the y-axis

If no parameters are entered, the scales will be frozen at their current values, and the current values of minx, maxx, nlxinc, miny, maxy, and nlyinc will be displayed.

If four (4) parameters are entered, the number of labeled tic marks on the x and y-axes, that is, nlxinc and nlyinc, default to zero (0), which means the program will choose "nice" numbers of increments.

Commensurate axis scaling
Labeled tic marks
Example