SAS Institute. The Power to Know

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

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

space
Previous Page | Next Page | Top of Page