image thumbnail

colorGray

version 1.0.0.0 (1.6 KB) by Alexandre Tumlinson
Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale.

2.5K Downloads

Updated 17 Nov 2006

No License

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);

Cite As

Alexandre Tumlinson (2021). colorGray (https://www.mathworks.com/matlabcentral/fileexchange/12804-colorgray), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!