Code covered by the BSD License
by M MA
29 Sep 2005
(Updated 04 Oct 2005)
3D contour plot on a surface.
Watch this File
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:
Works and follows a gap in Mathworks contour functions. Much apreciated!
very helpful. nicely implemented.