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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IGRAPH 755<br />

The INTERPOLATE keyword determines how the lines connecting the points are drawn.<br />

Options include:<br />

STRAIGHT Straight lines.<br />

LSTEP A horizontal line extends from each data point. A vertical riser connects<br />

the line to the next data point.<br />

CSTEP Each data point is centered on a horizontal line that extends half of the<br />

distance between consecutive points. Vertical risers connect the line to<br />

the next horizontal line.<br />

RSTEP A horizontal line terminates at each data point. A vertical riser<br />

extends from each data point, connecting to the next horizontal line.<br />

BAR Subcommand<br />

BAR creates a bar element in a chart, corresponding to the X1, X2, and Y axis assignments.<br />

Bars can by clustered by assigning variables to COLOR or STYLE. Horizontal or vertical orientation<br />

is specified by the COORDINATE subcommand.<br />

summary function Defines a function used to summarize the variable defined on the Y<br />

subcommand. If the Y axis assignment is $COUNT or $PCT, the BAR<br />

subcommand cannot have a summary function. If the Y subcommand<br />

specifies TYPE=CATEGORICAL, then BAR can specify only MODE as<br />

the summary function. Otherwise, all summary functions described on<br />

p. 764 are available.<br />

LABEL Bars can be labeled with the actual values corresponding to the<br />

dependent axis (VAL) or with the number of cases included in each bar<br />

(N). The default is no labels. The placement of the labels is inside the<br />

bars (INSIDE) or outside the bars (OUTSIDE).<br />

SHAPE Determines whether the bars are drawn as rectangles (RECTANGLE),<br />

pyramids (PYRAMID), or obelisks (OBELISK). The default is rectangular<br />

bars.<br />

BARBASE For three-dimensional bars, the base can be round (ROUND) or<br />

square (SQUARE). The default is square.<br />

BASELINE The baseline value determines the location from which the bars will<br />

hang (vertical) or extend (horizontal). The default value is 0.<br />

Example<br />

IGRAPH<br />

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

/Y=$count<br />

/COORDINATE=VERTICAL<br />

/EFFECT=THREE<br />

/BAR LABEL INSIDE N SHAPE=RECTANGLE.<br />

• X1 assigns the categorical variable volume96 to the X1 axis.

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

Saved successfully!

Ooh no, something went wrong!