colorGray
Nessuna licenza
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);
Cita come
Alexandre Tumlinson (2025). colorGray (https://it.mathworks.com/matlabcentral/fileexchange/12804-colorgray), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- 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 >
Tag
Riconoscimenti
Ispirato: Bipolar Colormap
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.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. |
