To create
a scatter plot matrix:
-
-
-
Select
the predefined matrix graph that you want to use. You can choose from
two different types:
-
NxN matrix: The first four predefined
matrix graphs in the Graph Gallery create an NxN matrix. This matrix
uses one list of variables. It creates a square grid of cells using
the list of N variables along the rows and columns.
-
MxN matrix: The last two graphs
in the Graph Gallery create an MxN matrix. This type of matrix crosses
two lists of variables and creates a rectangular matrix without any
diagonal cells.
-
Click
OK. The Assign Data dialog box opens.
-
Specify
the SAS library and data set you want to use for the plot by selecting
the appropriate items from the
Library and
Data Set list boxes.
-
In the
Roles section, select the check box for each variable
that you want in the graph. If you want to select all items, then
select the check box in the heading.
For an
MxN matrix, select the variables from two lists, one for column variables
and another for row variables.
-
(NxN matrices
only) In the
Diagonal Cells section, select
the plot types for the diagonal cells. You can choose a histogram
and up to two density plots.
-
If you
want an ellipse to appear in the cells, do the following:
-
Check
the
Ellipse check box.
-
Select
either
Mean or
Predicted.
-
You can
either change the
Alpha value or keep the
default value.
For an
NxN matrix, the ellipse appears in the non-diagonal cells.
-
If you
want a more descriptive name for the plot, enter the name in the
Name text box. This name identifies the plot in the
Assign Data dialog box, in the Cell Properties dialog box, and other
places within the application.
By default,
the designer uses generic names for each plot. It is good practice
to assign a descriptive name that indicates a response variable or
some identifying characteristic of the plot.
-
Here is
an MxN rectangular matrix: