plot y*x $ label-variable
plot y*x='*' $ label-variable
FEMALE
and MALE
; the values F
and M
mark each observation on the plot.
plot height*weight=gender;
Values are not uniformly
distributed. This specification produces a logarithmic plot. If PROC
PLOT cannot determine the function implied by the axis specification,
it uses simple linear interpolation between the points. To determine
whether PROC PLOT correctly interpolates a function, you can use the
DATA step to generate data that determines the function and
see whether it appears linear when plotted. See Plotting Data on a Logarithmic Scale for an example.
|
|
value TO value
place=(h=0 1 -1 2 -2)
place=(h=0 -1 to -3 by alt) place=(h=0 -1 1 -2 2 -3 3)
place=(h= 0 to 2 by alt) place=(h=0 0 1 -1 2 -2)
place=((v=1) (s=right left : h=2 -2) (v=-1) (h=0 1 to 2 by alt * v=1 -1) (l=1 to 3 * v=1 to 2 by alt * h=0 1 to 2 by alt))
plot y*x=z / contour=3 s1='A' s2='+' s3='X0A';
plot y*x=z / contour=3 s1='7A'x s2='7F'x s3='A6'x;
plot y*x=z / contour=5 slist='.' ':' '!' '=' '+O';If you omit a plotting symbol for each contour level, then PROC PLOT uses the default symbols:
slist='.' ',' '-' '=' '+' 'O' 'X' 'W' '*' '#'