With the SAS Gplot/gchart module, simple charts can be drawn.
1. Bar chart, doughnut chart, pie chart and so on;
Proc Gchart data=xxxxx;
Vbar varname;
Run
This process contains several options, note that the difference between the subgroup and group options, subgroup is not listed, and group is drawn separately for different groups;
2. Scatter plots, line charts, etc.
Proc Gplot data=xxxxx;
Plot y*x;
Run
When there are several different lines on the same table, determine whether the same coordinate system is shared by these lines. If it is true in the same coordinate system, then overlay requires multiple plot statements and Vaxis to define the axis length in a different coordinate system.
3. Three-dimensional surface diagram
Proc G3d data=xxxxx;
Plot y*x=z;
Scatter y*x=z;
Run
Scatter plots are also surface plots.
The above is the most basic statistical chart, other such as survival curve analysis diagram, ROC map, t distribution F distribution map will be added in succession.
SAS Simple Drawing