Previous Page | Next Page

The SGSCATTER Procedure

Example 2: Creating a Graph with Multiple Independent Scatter Plots and Spline Curves


Procedure features:

PLOT statement

PBSPLINE option

Sample library member GSGSCPLT

[untitled graphic]

This example shows a graph with multiple independent scatter plots with fitted splines.

 Note about code
proc sgscatter data=sashelp.iris(where=(species="Virginica"));
  title "Multi-Celled Spline Curve for Species Virginica";
  plot (sepallength sepalwidth)*(petallength petalwidth)
       / pbspline;
run;

Previous Page | Next Page | Top of Page