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)
인용 양식
M MA (2024). contourz (https://www.mathworks.com/matlabcentral/fileexchange/8589-contourz), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R12
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Graphics > 2-D and 3-D Plots > Contour Plots >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Surface and Mesh Plots >
Help Center 및 MATLAB Answers에서 Contour Plots에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 | update screenshot |