getCmapString

Version 1.0.0 (1,64 ko) par lazymatlab
returns the colormap of selected handle as a string.
7 téléchargements
Mise à jour 22 déc. 2019

Afficher la licence

% 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.

Citation pour cette source

lazymatlab (2024). getCmapString (https://www.mathworks.com/matlabcentral/fileexchange/73759-getcmapstring), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Blue dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0