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;
% add clabels:
How would you do this if you did not want to manually select the c-labels and know the interval at which you want the contours to be?
Works and follows a gap in Mathworks contour functions. Much apreciated!
very helpful. nicely implemented.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.