Previous Page | Next Page

The SGSCATTER Procedure

Example 3: Creating a Simple Comparative Panel


Procedure features:

COMPARE statement

GROUP option

Sample library member GSGSCCMP

[untitled graphic]

This example shows a comparative scatter plot with grouped data.

 Note about code
proc sgscatter data=sashelp.iris;
  title "Iris Data: Length and Width";
  compare x=(sepallength petallength)
          y=(sepalwidth petalwidth)
          / group=species;
run;

Previous Page | Next Page | Top of Page