By default,
the SCATTERPLOTMATRIX statement produces a symmetric scatter plot
matrix. For
n columns, it produces
an
n columns by
n rows matrix of scatter plots. By default, the
columns of the matrix are in the same left-to-right order as the order
of the
numeric-column-list.
The rows of the matrix are in the same bottom-to-top order as the
numeric-column-list. You can reverse the direction
of the diagonal by setting START=TOPLEFT.
To produce
a rectangular matrix of scatter plots, use the
ROWVARS= option. Specifying
n columns in the SCATTERPLOTMATRIX statement
and
m columns on the ROWVARS=
option produces an n-columns by m-rows matrix of scatter plots. For
example, the following statement specifies 2 columns on SCATTERPLOTMATRIX
and 3 columns on the ROWVARS= option to produce the 2-columns by 3-rows
matrix:
SCATTERPLOTMATRIX Height Weight
/ ROWVARS=(Age Height Weight);
The SCATTERPLOTMATRIX
statement cannot appear within an overlay-type layout. It generates
its own matrix of plots and is typically placed in a LAYOUT GRIDDED
block.
If there
are missing values in a column or a row, all of the points that can
be plotted are plotted in each scatter plot.