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.

708 GRAPH<br />

Figure 42 ERRORBAR=SALNOW BY JOBCAT BY SEXRACE<br />

Figure 43 ERRORBAR=FRINGE SALBEG SALNOW BY SEX<br />

SCATTERPLOT Subcommand<br />

Specification: var1 BY var2 BY var3<br />

Legend title: var3 label<br />

Legend labels: var3 value labels+Mean<br />

+var1 label<br />

y-axis title: display+var1 label<br />

y-axis labels: value scale<br />

x-axis title: var2 label<br />

x-axis labels: var2 value labels<br />

Specification: varlist BY var<br />

Legend title: none<br />

Legend labels: Mean+var labels<br />

y-axis title: displayed statistics<br />

y-axis labels: values<br />

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

x-axis labels: BY var value labels<br />

SCATTERPLOT produces two- or three-dimensional scatterplots. Multiple two-dimensional<br />

plots can be plotted within the same frame or as a scatterplot matrix. Only variables can be<br />

specified; aggregated functions cannot be plotted. When SCATTERPLOT is specified without<br />

keywords, the default is BIVARIATE.<br />

BIVARIATE One two-dimensional scatterplot. A basic scatterplot is defined by two variables<br />

separated by the keyword WITH (see Figure 44 to Figure 46). This is the<br />

default when SCATTERPLOT is specified without keywords.<br />

OVERLAY Multiple plots drawn within the same frame. Specify a variable list on both<br />

sides of WITH. By default, one scatterplot is drawn for each combination of<br />

variables on the left of WITH with variables on the right (see Figure 47). You<br />

can specify PAIR in parentheses to indicate that the first variable on the left is<br />

paired with the first variable on the right, the second variable on the left with<br />

the second variable on the right, and so on. All plots are drawn within the<br />

same frame and are differentiated by color or pattern. The axes are scaled to<br />

accommodate the minimum and maximum values across all variables.

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

Saved successfully!

Ooh no, something went wrong!