getCmapString
% str = getCmapString(h) finds what colormap is used in the handle h
% and returns as a string. Matlab has 18 colormaps:
% parula (default)
% jet
% hsv
% hot
% cool
% spring
% summer
% autumn
% winter
% gray
% bone
% copper
% pink
% lines
% colorcube
% prism
% flag
% white
% If no matches are found, "unknown" is returned.
%
% h should be a handle of which the class has a Colormap property.
Cita come
lazymatlab (2024). getCmapString (https://www.mathworks.com/matlabcentral/fileexchange/73759-getcmapstring), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Formatting and Annotation > Colormaps > Blue >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |