The PLOT DEFINE LINE and PLOT DEFINE BAR commands determine whether the graph uses lines or bars to represent data and assigns names to each line or bar. The commands use the following syntax:
PLOT plotname DEFINE LINE linename [COLOR(WHITE|color)] PLOT plotname DEFINE BAR barname [COLOR(WHITE|color)]
Specifies the name of the graph for which you are designing lines or bars.
Specifies the name of this line. You must name each line or bar because other graphs can use these names to identify a line or bar to insert or delete.
A graph can display up to eight different lines to represent data, and can contain one bar and multiple lines. For example, the SPLPLOT graph uses a single bar to show the current time.
Specifies the name of this bar. You can define only one bar per graph.
Specifies the color used to display lines or bars. You can choose any of the colors listed. For information on colors, see the section LABEL Option. If you define multiple lines, each line can be in a different color.
Defaults:
Example:
These commands define a red line named S008 and a turquoise bar named NOW (which displays the current time):
"PLOT SPLPLOT DEFINE LINE S008 COLOR(RED)" "PLOT SPLPLOT DEFINE BAR NOW COLOR(TURQUOISE)"
Copyright © 2012 CA. All rights reserved. |
|