colorGray

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

Sie verfolgen jetzt diese Einreichung

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

Zitieren als

Alexandre Tumlinson (2026). colorGray (https://de.mathworks.com/matlabcentral/fileexchange/12804-colorgray), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert: Bipolar Colormap

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
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.