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.

Example<br />

IGRAPH<br />

/VIEWNAME=’Scatterplot’<br />

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

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

/X2=VAR(region) TYPE=CATEGORICAL<br />

/COLOR=VAR(tenure) TYPE=SCALE<br />

/STYLE=VAR(vol94)<br />

/SCATTER.<br />

IGRAPH 749<br />

• The chart contains a three-dimensional scatterplot.<br />

• COLOR defines a scale legend corresponding to the variable TENURE. Points appear in a<br />

continuum of colors, with the point color reflecting the value of TENURE.<br />

• STYLE defines a categorical legend. Points appear with different shapes, with the point<br />

shape reflecting the value of VOL94.<br />

CLUSTER Subcommand<br />

CLUSTER defines the variable used to create clustered pie charts. The variable specified<br />

must be categorical. The cluster will contain as many pies as there are categories in the<br />

cluster variable.<br />

SUMMARYVAR Subcommand<br />

SUMMARYVAR specifies the variable or function for summarizing a pie element. It can only<br />

have the built-in variables $COUNT or $PCT or a user-defined variable name.<br />

Specifying a user-defined variable on SUMMARYVAR requires specifying a summary<br />

function on the PIE subcommand. Valid summary functions include SUM, SUMAV, SUMSQ,<br />

NLT(x), NLE(x), NEQ(x), NGT(x), and NGE(x). The slices of the pie represent categories defined<br />

by the values of the summary function applied to SUMMARYVAR.<br />

PANEL Subcommand<br />

PANEL specifies a categorical variable or variables for which separate charts will be created.<br />

• Specifying a single panel variable results in a separate chart for each level of the panel<br />

variable.<br />

• Specifying multiple panel variables results in a separate chart for each combination of<br />

levels of the panel variables.<br />

POINTLABEL Subcommand<br />

POINTLABEL specifies a variable used to label points in a boxplot or scatterplot.<br />

• If a label variable is specified without ALL or NONE, no labels are turned on (NONE).<br />

• The keyword NONE turns all labels off.

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

Saved successfully!

Ooh no, something went wrong!