DSCATTER procedure

Produces a scatter-plot matrix using high-resolution graphics (J. Ollerton).


Options

PEN = scalar or variate or factor
Pen number for the graph; default 1

EQUALSCALING = string
Whether to have equal scaling of x- and y-axes in each plot (yes, no); default no


Parameter

DATA = variates or factors
A list of variables to be plotted


Description

Procedure DSCATTER produces a scatter-plot matrix, from a set of variates or factors, using high-resolution graphics.

   The parameter DATA lists the variates or factors to be plotted; each one is plotted against all the others, producing plots which are arranged as the lower triangle of a matrix with shared scales. Titles for the axes are the identifiers of the variables. The number of variates or factors that can be plotted by this procedure is in effect unlimited, but of course the greater the number of variables, the smaller the individual plots will be.

   The pen to be used to plot the data can be specified with the option PEN. The EQUALSCALING option enables you to request that scaling of the x- and y-axes should be equal in each plot.


Options: PEN, EQUALSCALING. Parameter: DATA.


Method

Each variable is plotted against every other variable, producing n(n-1)/2 graphs. A full scatter-plot matrix would produce n(n-1) separate graphs in the shape of an n × n matrix, with both lower and upper triangles of the matrix containing the n(n-1)/2 set of plots. This procedure forms just the lower triangle of the scatter-plot matrix.


Action with RESTRICT

If any of the variates or factors is restricted, only the units not excluded by the restriction will be plotted.