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.

Example<br />

IGRAPH<br />

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

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

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

/COORDINATE=THREE<br />

/BOX OUTLIERS=OFF EXTREME=ON MEDIAN=OFF LABEL=N BOXBASE=ROUND WHISKER=T.<br />

IGRAPH 759<br />

• X2 adds a third dimension, corresponding to division, to the boxplot in the previous<br />

example.<br />

• COORDINATE indicates that the chart displays the third dimension.<br />

• BOX creates a boxplot without outliers or a median line. Extreme values are shown.<br />

• LABEL labels each box with the number of cases represented by each box.<br />

• BOXBASE defines the three-dimensional representation of the boxes to be cylindrical.<br />

LINE Subcommand<br />

LINE creates line charts, dot charts, and ribbon charts. These charts summarize categories of<br />

one or more variables. Line charts tend to emphasize flow or movement instead of individual<br />

values. They are commonly used to display data over time and therefore can be used to give<br />

a good sense of trends. A ribbon chart is similar to a line chart, with the lines displayed as<br />

ribbons in a third dimension. Ribbon charts can either have two dimensions displayed with<br />

a 3-D effect, or they can have three dimensions.<br />

The following keywords are available:<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 LINE<br />

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

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

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

p. 764 are available.<br />

STYLE Chart can include dots and lines (DOTLINE), lines only (LINE), or dots<br />

only (DOT). The keyword NONE creates an empty chart.<br />

DROPLINE Indicates whether drop lines between points having the same value of<br />

a variable are included in the chart (ON) or not (OFF). To include drop<br />

lines, specify a categorical variable on the STYLE, COLOR, or SIZE<br />

subcommands.<br />

LABEL Labels points with the actual values corresponding to the dependent<br />

axis (VAL), the percentage of cases (PCT), and the number of cases<br />

included in each data point (N). The default is no labels.<br />

LINELABEL Labels lines with category labels (CAT), the percentage of cases<br />

(PCT), and the number of cases included in each line (N). The default<br />

is no labels.<br />

BREAK Indicates whether the lines break at missing values (MISSING) or not<br />

(NONE).

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

Saved successfully!

Ooh no, something went wrong!