Previous Topic: LABEL Option

Next Topic: TICK Option


SCALE Option

This option imposes a range of values, indicated by tick marks, on the X axis or the Y axis.

Use the following syntax for the SCALE option:

SCALE(XAXIS|YAXIS, start, stop [,step])
XAXIS or YAXIS

Specifies the axis (X or Y) for which you are defining a scale.

start

Defines the lowest tick value for this axis.

stop

Defines the highest tick value for this axis.

step

Sets the interval between tick marks that CA Automation Point displays for this axis.

Note: The tick values that you specify with the SCALE option must be consistent with the type of tick value that you specified with the TYPE operand in the AXIS clause described under step one of designing a basic graph. For example, you cannot specify numeric tick values for an axis that you have defined as containing time data.

Default: The start value is the first step value lower than the smallest data value on the axis, and the stop value is the first step value greater than the largest data value on the axis.

If you do not specify a step value, CA Automation Point computes the difference between the start and stop values and calculates how many tick marks are needed to divide the range of values into even increments. CA Automation Point uses approximately 10 tick marks to divide a range (unless you specify otherwise).

Example:

This command sets the X-axis scale to a range of 24 hours with one tick mark every four hours, and the Y-axis scale to a range of 0 to 100 percent with one tick mark every 10 percent:

"PLOT SPLPLOT DEFINE GRAPH",
  "SCALE(XAXIS,0:00,23:59,04:00)",
  "SCALE(YAXIS,0,100,10)"