YAXIS control statement
The YAXIS control statement defines the base, height, and scale of the Y-axis.
YAXIS statements must precede any SELECT statement.
YAXIS=[(ORIGIN=n,SCALE=n,LINES=n)]
Parameter | Description |
---|---|
ORIGIN | Specifies a numeric value equal to or greater than zero or the character string MIN The value defines the base of the Y-axis. The default is zero. If MIN is specified, the plot program determines the actual minimum value for any X-axis column and uses that value as the base for the Y-axis, which may allow for better granularity in the Y-axis values. If a value greater than zero is specified, all data to be plotted must be greater than or equal to the ORIGIN value or a message is printed and the base value reverts to zero. |
SCALE | Defines the units of measurement for the Y-axis The parameter can be a numeric value equal to or greater than five or the character string MAX. MAX specifies dynamic generation of the scale value for the requested plot (or plots). The default is MAX. The scale value is printed at the top of the Y-axis. |
LINES | Specifies a numeric value greater than zero The default is 50. The value defines the vertical length and unit increments of the Y-axis. The increments are calculated by dividing the SCALE value by the LINES value. If the value is greater than 50, two or more pages of plot output are produced. |
Related topic