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.

FORMAT Subcommand<br />

IGRAPH 753<br />

For charts with color or style variables, the FORMAT subcommand controls the color and<br />

style attributes of spikes. The keywords are:<br />

SPIKE Applies color and style specifications to spikes. This keyword is<br />

required.<br />

COLOR{ON|OFF} Controls use of color in spikes as defined by color variable. The<br />

default is ON.<br />

STYLE {ON|OFF} Controls use of line style in spikes as defined by style variable. The<br />

default is ON.<br />

Example<br />

IGRAPH<br />

/X1 = VAR(salbegin) TYPE = SCALE<br />

/Y = VAR(salary) TYPE = SCALE<br />

/COLOR = VAR(gender) TYPE = CATEGORICAL<br />

/SPIKE CENTROID=MEFFECT<br />

/FORMAT COLOR=OFF.<br />

KEY Keyword<br />

All interactive chart types except histograms include a key element that identifies the<br />

summary measures displayed in the chart (for example, counts, means, medians). The KEY<br />

keyword controls the display of the key in the chart. The default is ON, which displays the<br />

key. The OFF specification hides the key. The KEY specification is part of the subcommand<br />

that defines the chart type.<br />

Example<br />

IGRAPH<br />

/X1 = VAR(jobcat) TYPE = CATEGORICAL<br />

/Y = $count<br />

/BAR KEY=OFF.<br />

Element <strong>Syntax</strong><br />

The following subcommands add elements to a chart. The same subcommand can be specified<br />

more than once. Each subcommand adds another element to the chart.<br />

SCATTER Subcommand<br />

SCATTER produces two- or three-dimensional scatterplots. Scatterplots can use either categorical<br />

or scale dimensions to create color or size legends. Categorical dimensions are<br />

required to create style legends.

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

Saved successfully!

Ooh no, something went wrong!