SYMBOL1 V=STAR C=RED;
SYMBOL2 V=PLUS C=BLUE;
Proc GPLOT;
PLOT Y1 * X = 1 /* uses SYMBOL1 */
Y2 * X = 2 / overlay; /* uses SYMBOL2 */
Proc GPLOT;
PLOT Y * X = GROUP;
SYMBOLn options;where
You can specify height as n PCT (where n is expressed as a percentage of the display area); n IN (where n is expressed in inches); n CM (where n is expressed in centimeters), or n CELL (where n is expressed in character cell units). If you do not specify a unit for height, the value specified with the GOPTION GUNIT= is used. If you did not specify a GUNIT= value, the default value, character cells, is used.
1 a solid line (the default value when L= is omitted) 2-32 various dashed lines.
If you specify I=STDP, sample variances are computed using a pooled estimate, as in a one-way ANOVA model.
If you specify I=STDJ, the means are connected from bar to bar. Use B to request bars (rather than lines) to connect the points for each X. T specifies that tops and bottoms should be added to each line.
B and T should not be used together, but other combinations of M, P, J, and B or T are acceptable.
Note: If VAXIS= is not specified, the vertical axis ranges from the minimum to maximum Y value in the data. If the requested number of standard deviations from the mean covers a range of values that exceeds the maximum or is less than the minimum, the STD lines are cut off at the minimum and maximum Y values. When this cutoff occurs, you should rescale the axis using the VAXIS= specification.
The form of the Rxxxxxxx value determines whether linear, quadratic, or cubic regression is used to fit a plot line; whether the intercept is set to zero to force the line through the origin; whether additional lines representing confidence limits should be drawn, and, if so, what confidence level should be used.
R x x x x x x x
L
Q
C
0
C L I
C L M
9 0
9 5
9 9
As shown above, valid values for the first variable after the R include L, Q, and C.
To specify the confidence level, include the numbers 90, 95, or 99 after CLI or CLM. If the confidence level is omitted, a value of 95 is used. The line style used for the confidence limit lines is determined by adding 1 to the L= value.
Specifying I=L1P, I=L3P, or I=L5P, results in a parametric Lagrange interpolation of degree 1, 3, or 5. The method described above for the L= option is used, but a parametric interpolation of degree 1, 3, or 5 is done on both the horizontal and vertical variables, using the distance between points as a parameter.
Prepared by Michael Friendly