Previous Page | Next Page

The SGPANEL Procedure

Example 4: Creating a Panel of Line Plots


Procedure features: VLINE statement
Sample library member: GSGPNLIN

[Panel of Line Charts]

This example shows a panel of line plots with grouped data.

 Note about code
proc sgpanel data=sashelp.prdsale;
  where product in ("CHAIR" "SOFA");
  title "Yearly Sales by Product";
 Note about code
  panelby year / spacing=5 novarname;
 Note about code
  vline month / response=actual group=product;
run;

Previous Page | Next Page | Top of Page