FUNCTION REFERENCE

contour3

3-D contour plot.

3-D contour plot.

Syntax

contour3(Z)

Syntax

contour3(X, Y, Z)

Syntax

contour3(..., n)

Syntax

contour3(..., v)

Syntax

contour3(..., LineSpec)

Syntax

[C, h] = contour3(...)

Same inputs, levels, options and handle as contour; each level's line is drawn at the height Z = level, and an axes that is not held switches to view(3). C equals contourc's.

Example

[C, h] = contour3(peaks(20), 5); h.LevelList

Differences from MATLAB: ShowText and clabel labels are not drawn in 3-D.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.