colorGray

Creates full spectrum, blue-green-orange-salmon, colormap that maps to linear grayscale.
ダウンロード: 2.5K
更新 2006/11/17

ライセンスがありません

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

引用

Alexandre Tumlinson (2025). colorGray (https://www.mathworks.com/matlabcentral/fileexchange/12804-colorgray), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
謝辞

ヒントを与えたファイル: 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!
バージョン 公開済み リリース ノート
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.