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)

APL code 791 PGF RCP code X'100D0A03' (269289987)


Parameters


components (specified by user) (fullword integer)
Specifies the number of components drawn; that is, the number of individual graph lines or groups of scatter plot data. Each component has a new set of attributes.


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


ADM0502 E
PICTURE SPACE AND CHAREA ARE INCOMPATIBLE
ADM0504 E
MARGINS EXCEED AVAILABLE CHART AREA
ADM0510 W
LEGEND FORMAT MAY BE INCORRECT
ADM0511 W
NOT ENOUGH ROOM TO DRAW ALL KEYS. ONE OR MORE WERE OMITTED
ADM0512 W
HEADING TEXT EXCEEDS AVAILABLE SPACE AND HAS BEEN TRUNCATED
ADM0514 W
LABEL(S) OMITTED ON X, Y, OR Z AXIS
ADM0525 W
CHARACTER SIZE IS TOO LARGE FOR THE CHART
ADM0526 S
LOGARITHMIC X OR Y AXIS RANGE CONTAINS A NON-POSITIVE VALUE
ADM0527 E
NON-POSITIVE INTERCEPT ON LOGARITHMIC X OR Y AXIS
ADM0528 E
X, Y, OR Z AXIS TICK INTERVAL TOO SMALL
ADM0529 W
MAXIMUM OVERLAP EXCEEDED FOR A BAR CHART
ADM0531 W
DATUM LINE DATA VALUE LIES OUTSIDE AXIS RANGE
ADM0532 E
COMPONENT PARAMETER LESS THAN ZERO OR COUNT PARAMETER LESS THAN ONE
ADM0534 W
DATA LIES OUTSIDE THE X, Y, OR Z AXIS RANGE AND HAS NOT BEEN PLOTTED
ADM0535 E
ZERO OR NEGATIVE DATA IS INVALID ON A LOGARITHMIC AXIS
ADM0543 S
INCOMPATIBLE MIXTURE OF CHART TYPES
ADM0544 S
STORAGE LIMIT EXCEEDED
ADM0545 E
THE X, Y, OR Z AXIS HAS AN INVALID POWER OF 10 FOR TICK DEFINITION
ADM0546 E
THE X, Y, OR Z AXIS RANGE EXCEEDS NUMERIC BOUNDS
ADM0557 W
AXIS TITLE TRUNCATED ON RIGHT OF CHART
ADM0558 W
AXIS TITLE TRUNCATED AT TOP OR BOTTOM OF CHART
ADM0560 E
LOGARITHMIC X, Y, OR Z AXIS RANGE IS TOO SMALL

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012