emdbook (version 1.3.12)

contour3d: Superimpose contour lines on a 3D plot

Description

Plot contour lines computed from data in 3D, or add them to an existing 3D (RGL) surface

Usage

contour3d(x, y, z, contourArgs=NULL, ...)

Value

Returns a list of contour lines (as in contourLines), invisibly.

Arguments

x

numeric vector of x values (as in contour), or a list with components x, y and z

y

numeric vector of y values (as in contour)

z

numeric z matrix (as in contour)

contourArgs

list of arguments to contourLines

...

other arguments to lines3d

Author

Ben Bolker