You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Creates a colormap using two boundary colors and one center color. Useful in situations containing positive and negative values, where the central color (normally white) is zero. The user can define the boundary and center colors, and the number of segments in which the colormap is composed of. All color inputs must be in RGB triplet format (e.g. [0 0 0] for black). Once a colormap is generated, upload to current figure using: colormap(gca,newColormapName). Please see function text (comments) for further description and example usage. Very simple colormap generator, but please let me know if any bugs are present.
Cite As
Timothy Olsen (2026). Centered colormap generator (https://uk.mathworks.com/matlabcentral/fileexchange/70530-centered-colormap-generator), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: LogicalClusteringSuite, LCS
General Information
- Version 1.0.0 (1.85 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0 |
