Centered colormap generator

バージョン 1.0.0 (1.85 KB) 作成者: Timothy Olsen
Creates a colormap using two boundary colors and one center color
ダウンロード: 366
更新 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 Center および MATLAB AnswersBlue についてさらに検索
謝辞

ヒントを与えたファイル: 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