Previous Page | Next Page

The SGPLOT Procedure

Example 8: Creating a Horizontal Box Plot


Procedure features: HBOX statement
Sample library member: GSGPLBOX

[GSGPLBOX - Creating a Box Plot]

This example shows a horizontal box plot.

 Note about code
proc sgplot data=sashelp.heart;
  title "Cholesterol Distribution by Weight Class";
  hbox cholesterol / category=weight_status;
run;

Previous Page | Next Page | Top of Page