colorGray
Aucune licence
Creates a broad range color map that looks good in color as well as when reduced to grayscale for low cost publication.
Finished colormap encodes small values with a bluish color, intermediate values in green to orange, and large values with a redish/salmon color. The greyscale is linear.
RGBcolormap=colorGray(numberOfLevels,makeDebugPlot);
Citation pour cette source
Alexandre Tumlinson (2026). colorGray (https://fr.mathworks.com/matlabcentral/fileexchange/12804-colorgray), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Labels and Styling > Color and Styling > Yellow >
- MATLAB > Graphics > Labels and Styling > Color and Styling > Green >
- MATLAB > Graphics > Labels and Styling > Color and Styling > Blue >
Tags
Remerciements
A inspiré : Bipolar Colormap
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 | input 'numberOfLevels' is now optional. Optimized for speed and readability by vectorizing code. Added the debug plotting options. Thx to PederAxensten for suggestions and significant code snippet. |
