This is a draft cheat sheet. It is a work in progress and is not finished yet.
General Syntax
proc sgplot data=sashelp.class;
scatter x=height y=weight;
ellipse x=height y=weight;
run;
|
Basic Types
Basic |
scatter, series, step, band, needle, vector |
Fit and confidence |
loess, regression, penalized B-Spline curves, ellipses |
Distribution |
box plots, histograms, normal- and kernel density estimates |
Categorization |
dot plots, bar charts, line plots |
Basic and Fit and confidence plots may be used together, otherwise different categories must not be mixed. Box plots cannot be combined.
Plot Axes
Axis Statements |
XAXIS, X2AXIS, YAXIS, Y2AXIS |
Axis Types |
Discrete, Linear, Logarithmic, Time |
|
|
|
|
|