FOCUS AREAS

Graphics

Box Panel
Vertical Box Panel
Base SAS: ODS Graphics Procedure: SGPANEL

/* Open the LISTING destination and assign the LISTING style to the graph */ 
ods listing style=listing;
ods graphics / width=5in height=2.81in;
title 'Cholesterol by Weight and Sex';

/* Run PROC SGPANEL on data SASHELP.HEART, excluding underweight subjects from the analysis */
proc sgpanel data=sashelp.heart(where=(weight_status ne 'Underweight'));
  /* panel the graph by weight */
  panelby weight_status / novarname;
  /* generate vertical box plots that show cholesterol counts by sex */
  vbox cholesterol / category=sex;
  rowaxis grid;
run;