<< contour | Graphics functions | cool >> |
contour3(Z) |
contour3(X, Y, Z) |
contour3(..., levels) |
contour3(..., LineSpec) |
contour3(ax, ...) |
M = contour3(...) |
[M, h] = contour3(...) |
x-coordinates: vector or matrix.
y-coordinates: vector or matrix.
z-coordinates: vector or matrix.
Contour levels: scalar or vector.
Line style and color
a scalar graphics object value: parent container, specified as a axes.
Contour matrix.
a graphics object: contour type.
contour3(Z) generates a 3-D contour plot illustrating the isolines of the matrix Z, where Z represents heights on the x-y plane.
The x and y coordinates in the plane correspond to the column and row indices of Z, respectively.
To specify the x and y coordinates for Z values, use contour3(X,Y,Z).
f = figure();
[X,Y,Z] = sphere(50);
[M, C ]= contour3(X,Y,Z);
C.LineWidth = 3;
Version | Description |
---|---|
1.3.0 | initial version |
Allan CORNET