Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
The images are generated by the examples in the help section.
zerocolor(CLR)
Updates current figure's colormap so that zeros get color CLR. CLR is a vector between 0-1, e.g. [.4 .2 .9] or a standard MATLAB color string.
cmap = zerocolor(H,CLR)
Returns the updated colormap cmap based on the figure with handle H.
See the function help for all the syntax options. Not hard to adjust the code for an arbitrary value other than zero.
feedback is welcome
Citation pour cette source
Jurgen (2026). Zerocolor (https://fr.mathworks.com/matlabcentral/fileexchange/39985-zerocolor), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : SC - powerful image rendering, Adaptive Colormap Function Creates a Colormap Specific to Data
A inspiré : Valcolor
Informations générales
- Version 1.0.0.0 (3,01 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
