smart_contour(C, h,h_surf_overlap_on, const_dim, const_dim_pos, varargin)
contour does not work when you would like the contour lies on y plane or x plane,
handles returned by contour is no longer rotatable.
the contours are made up of lines that can be rotated.
Application: especially for fluid plots, contour on x-plane or y-planes can reveal the 3D strucutures.
Furthermore, the contour labels are manageable by clicks.
It intakes contours, modifies the part where the clabels lies in to NAN,
it take options of line object that pass to the contour objects.
when the surf behind the contour has a dark color, the labels font color will automatically turn white.
the label alignment is SLIGHTLY tolerant to view angle rotation.
Tested on 2015b, I guess it works after the big change in 2013b.
Cite As
Hung (2024). smart_contour(C, h,h_surf_overlap_on, const_dim, const_dim_pos, varargin) (https://www.mathworks.com/matlabcentral/fileexchange/53769-smart_contour-c-h-h_surf_overlap_on-const_dim-const_dim_pos-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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | bug fix
bug fix |