Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale.

2.5K descargas

Actualizado 17 Nov 2006

Sin licencia

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.


Citar como

Alexandre Tumlinson (2023). colorGray (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Inspiración para: Bipolar Colormap, MatPlotLib Perceptually Uniform Colormaps

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión

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.