Surface Plot

To generate a surface plot

Choose Graph __image\arrow5.gif Three Variable__image\arrow5.gif Surface Plot. The dialog shown below appears.

Data page

__image\surface1.gif

In the Surface Plot dialog, the Data page has the following options:

Data

Data Set

Select a data set from the dropdown list or type the name of a data set. You can also type into the Data Set edit field any expression that evaluates to a data set.

Subset Rows

Enter an S-PLUS expression that identifies the rows to use in the analysis. To use all the rows in the data set, leave this field blank.

Variables

X Axis Value

Specify the column containing x-axis values.

Y Axis Value

Specify the column containing y-axis values.

Z Axis Value

Specify the column containing z-axis values.

Conditioning

Select the columns specifying conditioning values.

Save Graph Object

Save As

Enter the name for the object in which to save the results of the analysis.

Plot page

__image\surface2.gif

In the Surface Plot dialog, the Plot page has the following options:

Interpolate

Interpolate to Grid Before Plotting

Check this to automatically interpolate the points to a grid. If the points are already gridded, this may be un-checked to avoid unnecessary computation.

X Grid Size

Number of grid levels on the x-axis.

Y Grid Size

Number of grid levels on the y-axis.

Contour Levels

Number of Levels

Specify the number of contour levels to display.

Fills

Include Fills

Check this to include a grid of color fills.

Include Color Key

Check this to include a legend for the color fills.

Lines

Include Contour Lines

Check this to include contour lines.

Include Contour Labels

Check this include contour labels.

Titles page

__image\surface3.gif

In the Surface Plot dialog, the Titles page has the following options:

Titles

Main Title

Specify a main title to add on the top of the page.

Subtitle

Specify a subtitle to add on the bottom of the page.

Labels

X Axis Label

Specify a label for the x-axis.

Y Axis Label

Specify a label for the y-axis.

Z Axis Label

Specify a label for the z-axis.

Axes page

__image\surface4.gif

In the Surface Plot dialog, the Axes page has the following options:

Aspect Ratio

Y to X Ratio

Specify the y-size/x-size ratio.

Z to X Ratio

Specify the z-size/x-size ratio.

Transformation

Transform Type

Specify whether a "Perspective" or "Orthogonal" transformation should be used when transforming the 3-D points to a 2-D display.

Distance Factor

Controls the amount of perspective, as in the distance from the object to the viewer. Smaller values increase the perspective; 0 implies the viewer is right at the object, 1 that the viewer is infinitely far away (orthogonal projection).

Zoom Factor

Overall scale factor for the drawn object. Zoom values other than 1 can be used to enlarge or compress the object.

Rotation

X Axis Rotation

Indicate the degrees of rotation to apply about the x-axis.

Y Axis Rotation

Indicate the degrees of rotation to apply about the y-axis.

Z Axis Rotation

Indicate the degrees of rotation to apply about the z-axis.

Ticks

Include Tick Marks and Labels

Check this to include tick marks and tick labels on each axis. By default the ticks are omitted, and the axes are denoted by simple symbolic arrows.

Multipanel page

__image\surface5.gif

In the Surface Plot dialog, the Multipanel page has the following options:

Layout

Number of Columns/Rows/Pages Control the layout of the panels by specifying the number of columns, rows and pages.

Panel Order Choose from Graph Order or Table Order. Graph Order begins drawing panels in the bottom left corner of the graph, to the right and up. Table Order begins drawing panels in the upper left corner and continues right.

Include Strip Labels Check this to include strip labels on panels.

Continuous Conditioning

Number of Panels If the data are continuous, the number of panels is determined by the number specified in this field.

Overlap Fraction Create overlapping intervals by specifying the fraction of data points that are shared across two panels.

Interval Type Choose from Equal Counts or Equal Ranges. Equal Counts places an equal number of data points in each plot. Equal Ranges makes the interval widths all equal.