Previous Page  Next Page 
SAS/INSIGHT Statements

CONTOUR Statement

CONTOUR variable-list * variable-list *variable-list

          < / < LABEL=variable > < < MARKERSIZE | MS >=value >

          < XAXIS=axis > < YAXIS=axis > < ZAXIS=axis > >;

The CONTOUR statement creates level curves of a surface that fits the data, assuming that the Z variable is a function of the X and Y variables.

Use at least one Z variable, followed by an asterisk, followed by at least one Y variable, followed by an asterisk, followed by at least one X variable. Use multiple Z, Y, and X variables to create a matrix of contour plots.

You can use the LABEL= option to assign a Label variable.

Use the MARKERSIZE= or MS= option to specify the size of observation markers. Marker size is a number between 1 and 8.

Use the XAXIS=, YAXIS=, and ZAXIS= options to specify numeric axes. The syntax for axis options is described under the BAR statement.

Previous Page  Next Page  Top of Page

Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.