This option specifies a translation table between string-label tick marks and numerical values for an axis. Because the Plot feature accepts data and assigns tick marks to it internally, most PLOT commands do not require the TICK operand; however, you may want to use the TICK operand if you are plotting encoded data.
Use the following syntax for the TICK option:
TICK(XAXIS|YAXIS, 'string', number)
Indicates whether you are assigning a string-label tick mark to a numeric value located on the X-axis or the Y-axis.
Specifies the tick label for the specified axis. CA Automation Point displays tick labels only for the values specified with TICK clauses. (CA Automation Point lets you include multiple TICK clauses in a single PLOT DEFINE GRAPH command, so that you can specify all of your tick values with one command.)
Specifies the number of tick labels for the specified axis. CA Automation Point draws as many tick labels as space allows. If a label would overlap the tick label preceding it, CA Automation Point omits the overlapping label.
Default: Tick labels display automatically at SCALE step values (outlined under the SCALE option).
Example:
Suppose that you are plotting data points having these meanings:
You can assign meaningful aliases to the numeric tick marks by specifying the TICK option in the following PLOT command:
"PLOT FLOWRATE DEFINE GRAPH TICK(YAXIS,'Slowest',1)", "TICK(YAXIS,'Slow',2)", "TICK(YAXIS,'Moderate',3)", "TICK(YAXIS,'Fast',4)", "TICK(YAXIS,'Fastest',5)"
Note: If you specify the TICK option, be sure to define string-label ticks for every data value that you intend to graph on the specified axis. If you insert data points with Y-axis values outside of the 1-5 range in the preceding example, the Plot feature labels those points with standard numeric labels.
Copyright © 2012 CA. All rights reserved. |
|