SAS Institute. The Power to Know

SAS/GRAPH(R) 9.2: Statistical Graphics Procedures Guide

space
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;

space
Previous Page | Next Page | Top of Page