smart_contour(C, h,h_surf_overlap_on​, const_dim, const_dim_pos, varargin)

Version 1.0.0.0 (20.3 KB) by Hung
smart_contour allows is a surfc or contour that work on other planes, and is rotatable
72 Downloads
Updated 2 Nov 2015

View License

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
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Contour Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

bug fix
small bug

bug fix