Centered colormap generator

版本 1.0.0 (1.8 KB) 作者: Timothy Olsen
Creates a colormap using two boundary colors and one center color
366.0 次下载
更新时间 2019/3/11

查看许可证

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.

引用格式

Timothy Olsen (2024). Centered colormap generator (https://www.mathworks.com/matlabcentral/fileexchange/70530-centered-colormap-generator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2018b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Blue 的更多信息
致谢

启发作品: LCS_v1.39, LCS

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0