27.03.2013 Views

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SPSS® 12.0 Command Syntax Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

GRAPH 709<br />

MATRIX Scatterplot matrix. Specify at least two variables. One scatterplot is drawn for<br />

each combination of the specified variables above the diagonal and a second<br />

below the diagonal in a square matrix (see Figure 48).<br />

XYZ One three-dimensional plot. Specify three variables, each separated from the<br />

next with the keyword WITH (see Figure 49).<br />

• If you specify a control variable using BY, GRAPH produces a control scatterplot where<br />

values of the BY variable are indicated by different colors or patterns. A control variable<br />

cannot be specified for overlay plots.<br />

• You can display the value label of an identification variable at the plotting position for<br />

each case by adding BY var (NAME) or BY var (IDENTIFY) to the end of any valid scatterplot<br />

specification. When the chart is created, NAME turns the labels on while IDENTIFY<br />

turns the labels off. You can use the Point Selection tool to turn individual labels off or<br />

on in the scatterplot. Figure 46 shows a simple scatterplot with labels turned on.<br />

Figure 44 /SCATTERPLOT=PROFITS WITH COMPS<br />

Figure 45 /SCATTERPLOT=SALBEG WITH SALNOW BY SEX<br />

Specification: var1 WITH var2<br />

[BY var] [BY var (NAME)]<br />

y-axis title: var2 var label<br />

y-axis labels: scaled values<br />

x-axis title: var1 var label<br />

x-axis labels: scaled values<br />

Specification: var1 WITH var2 BY var3*<br />

Legend title marker var (var3) label<br />

Legend labels: marker var value [label]<br />

y-axis title: var2 var label<br />

y-axis labels: scaled values<br />

x-axis title: var1 var label<br />

x-axis labels: scaled values<br />

*VAR3 is a marker variable. For specification of a label variable, see Figure 46.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!