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.

760 IGRAPH<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<br />

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

line to 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 />

LJUMP A horizontal line extends from each data point. No vertical risers<br />

connect the lines to the points.<br />

RJUMP A horizontal line terminates at each data point. No vertical risers<br />

connect the points to the next horizontal line.<br />

CJUMP A horizontal line is centered at each data point, extending half of the<br />

distance between consecutive points. No vertical risers connect the<br />

lines.<br />

SPLINE Connects data points with a cubic spline.<br />

LAGRANGE3 Connects data points with third-order Lagrange interpolations, in<br />

which a third-order polynomial is fit to the nearest four points.<br />

LAGRANGE5 Connects data points with fifth-order Lagrange interpolations, in<br />

which a fifth-order polynomial is fit to the nearest six points.<br />

Example<br />

IGRAPH<br />

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

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

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

/COORDINATE=VERTICAL<br />

/LINE (MEAN) STYLE=LINE DROPLINE=ON LABEL VAL<br />

INTERPOLATE=STRAIGHT BREAK=MISSING.<br />

• LINE creates a line chart. The lines represent the mean value of sales96 for each category<br />

of volume95.<br />

• The chart contains a line for each category of volume94, with droplines connecting the<br />

lines at each category of volume95.<br />

• LABEL labels the lines with the mean sales96 value for each category of volume95.<br />

• INTERPOLATE specifies that straight lines connect the mean sales96 values across the<br />

volume95 categories.<br />

• BREAK indicates that the lines will break at any missing values.

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

Saved successfully!

Ooh no, something went wrong!