contourz

Version 1.0.0.0 (2.34 KB) by M MA
3D contour plot on a surface.
4K Downloads
Updated Tue, 04 Oct 2005 13:28:19 +0000

View License

Similar to contour3 but contours are drawn over any surface.

This may be useful if you wanna add contours to a surface created by surf(x,y,z,v).

Notice that if v = z, is the same as use contour3.

The screenshot was created as:

[x,y,v] = peaks;
z=-(x.^2+y.^2);
surf(x,y,z,'facecolor','none','edgealpha',.1)
hold on
contourz(x,y,z,v);

% add clabels:
view(2)
contourz('clabel');
view(3)

Cite As

M MA (2024). contourz (https://www.mathworks.com/matlabcentral/fileexchange/8589-contourz), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

update screenshot