Previous Page | Next Page

The SGPANEL Procedure

Example 1: Creating a Panel of Graph Cells with Histograms and Density Plots


Procedure features: HISTOGRAM statement, DENSITY statement
Sample library member: GSGPNHST

[Panel of Histograms]

This example shows a panel of graph cells with histograms and density plots.

 Note about code
proc sgpanel data=sashelp.heart noautolegend;
  title "Cholesterol Distribution in Heart Study";
 Note about code
  panelby sex;
 Note about code
  histogram cholesterol;
  density cholesterol;
run;

Previous Page | Next Page | Top of Page