Previous Page | Next Page

The SGPLOT Procedure

Example 1: Grouping a Scatter Plot


Procedure features:

SCATTER statement

Sample library member: GSGPLSCT

[GSGPLSCT - Grouping a Scatter Plot]

This example shows a simple scatter plot with grouped data.

 Note about code
proc sgplot data=sashelp.class;
  scatter x=height y=weight / group=sex;
run;

Previous Page | Next Page | Top of Page