Previous Page | Next Page

The SGPANEL Procedure

Example 2: Creating a Panel of Regression Curves


Procedure features: REG statement
Sample library member: GSGPNREG

[Panel of Regression Curves]

This example shows a panel of regression curves. The COLUMNS= option in the PANELBY statement specifies that the panel has three columns of graph cells.

 Note about code
proc sgpanel data=sashelp.iris;
  title "Scatter plot for Fisher iris data";
 Note about code
  panelby species / columns=3;
 
 Note about code
 reg x=sepallength y=sepalwidth / cli clm;
run;

Previous Page | Next Page | Top of Page