GDDM-PGF V2R1.3 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF |
BOOK
CHPLOT GDDM-PGF V2R1.3 Programming Guide and Reference SC33-0333-01 |
|
Function: To construct line graphs and scatter plots. CHPLOT (components, count, x-values, y-values) Parameters components (specified by user) (fullword integer)
count (specified by user) (fullword integer) Specifies the number of data points in each graph line or scatter plot group. x-values (specified by user) (array of short floating-point numbers) Specifies the x values. Each graph uses the same set of values. For example, if count=5, five values must be supplied. y-values (specified by user) (array of short floating-point numbers) Specifies the y values. One value must be supplied for each point to be plotted. For multiple components, the values must be stored sequentially by component; that is, all values for the first component, followed by all values for the second component, and so on for as many components as are specified. Each component must contain the number of values given in the count parameter. The y values specified for each component are associated in sequence with the x values supplied in the x-values parameter to give the (x,y) coordinate pairs to be plotted. Description Constructs one or more components consisting of line graphs or scatter plots on the currently selected axes. By default, markers are drawn at each data point, and solid straight lines connect them. The CHSET options ('LINES' | 'NOLINES') and ('MARKERS' | 'NOMARKERS') can be used to suppress the markers, or to produce a scatter plot by suppressing the lines. The color of the lines and markers, and the line types, line widths, and markers used are determined by the current attribute table settings. Valid in state-1 or state-2. If entered in state-1, the program changes to state-2. Principal errors
|
Copyright IBM Corporation 1990, 2012 |