contourN(varargin)
CONTOURN 3-D contour plot on a surface.
CONTOURN(...) combines CONTOUR(...), CONTOURM(...) and INTERP2(...) to
drawn contours wrapped on a 3d surface.
[C] = CONTOURN(...) returns contour matrix C as described in CONTOURC.
In map axis, see CONTOURM.
[C,H] = CONTOURN(...) returns an handle H to a contourgroup object that
can be used in CLABEL. In map axis, see CONTOURM.
CONTOURN(..., PARAM1, VAL1, PARAM2, VAL2, ...) allows you to set the
same optional parameters as in CONTOUR and CONTOURM.
Example:
contourN(repmat(1:3,3,1)',repmat(1:3,3,1),rand(3,3),rand(3,3),...
'linewidth',2,'showtext','on');
See also CONTOUR, INTERP2, SET, CONTOURM and MINVTRAN.
Cite As
Fred Massin (2024). contourN(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/48654-contourn-varargin), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.