Introduction to SAS/GRAPH Statistical Graphics Procedures |
The SGSCATTER procedure creates a paneled graph for multiple combinations of variables. The procedure syntax supports the following features:
three types of graph layouts: PLOT, COMPARE, and MATRIX
basic scatter plots
fit and confidence plots: loess curves, regression curves, penalized B-spline curves, and ellipses
distribution plots: histograms, box plots, and density curves
legends
The SGSCATTER procedure has three plot statements that create different types of layouts, as shown in the following examples:
The PLOT statement creates a paneled graph with multiple independent cells. A cell is created for each combination of X and Y variables that you specify.
The COMPARE statement creates a paneled graph that uses common axes for each row and column of cells.
The MATRIX statement creates a matrix of scatter plots, in which each cell represents a different combination of variables. In the diagonal cells, you can place labels, histograms, or density curves.
For more information about the SGSCATTER procedure and the procedure syntax, see The SGSCATTER Procedure.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.