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.

IGRAPH 757<br />

START num Indicates the starting position of the smallest slice of the pie chart.<br />

Any integer can be specified for num. The value is converted to a<br />

number between 0 and 360, which represents the degree of rotation of<br />

the smallest slice.<br />

CW | CCW Sets the positive rotation of the pie to either clockwise (CW) or<br />

counterclockwise (CCW). The default rotation is clockwise.<br />

SLICE Sets the labeling characteristics for the slices of the pie. The pie slices<br />

can be labeled with the category labels (LABEL), the category percentages<br />

(PCT), the number of cases (N), and the category values (VAL).<br />

Label position is either all labels inside the pie (INSIDE), all labels<br />

outside the pie (OUTSIDE), text labels inside the pie with numeric<br />

labels outside (TEXTIN), or numeric labels inside the pie with text<br />

labels outside (NUMIN).<br />

CLUSTER Sets the labeling characteristics for the pies from clusters. The pies<br />

can be labeled with the category labels (LABEL), the category percentages<br />

(PCT), the number of cases (N), and the category values (VAL).<br />

Label position is either upper left (ULEFT), upper right (URIGHT),<br />

lower left (LLEFT), or lower right (LRIGHT) of the figure.<br />

Example<br />

IGRAPH<br />

/SUMMARYVAR=$count<br />

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

/EFFECT=THREE<br />

/PIE START 180 CW SLICE=TEXTIN LABEL PCT N.<br />

• The pie slices represent the number of cases (SUMMARYVAR=$count) in each category of<br />

volume96 (specified on the COLOR subcommand).<br />

• EFFECT yields a pie chart with an additional third dimension.<br />

• PIE creates a pie chart.<br />

• The first slice begins at 180 degrees and the rotation of the pie is clockwise.<br />

• SLICE labels the slices with category labels, the percentage in each category, and the<br />

number of cases in each category. TEXTIN places the text labels (category labels) inside<br />

the pie slices and the numeric labels outside.<br />

Example<br />

IGRAPH<br />

/SUMMARYVAR=VAR(sales96)<br />

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

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

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

/COORDINATE=VERTICAL<br />

/PIE (SUM) START 0 CW SLICE=INSIDE VAL.<br />

• The pie slices represent the sums of sales96 values for each category of volume95 (specified<br />

on the COLOR subcommand).<br />

• X1 and Y define two axes representing region and division. A pie chart is created for each<br />

combination of these variables.

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

Saved successfully!

Ooh no, something went wrong!