Centered colormap generator

버전 1.0.0 (1.85 KB) 작성자: Timothy Olsen
Creates a colormap using two boundary colors and one center color

다운로드 수: 271

업데이트 날짜: 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 (2022). Centered colormap generator (https://www.mathworks.com/matlabcentral/fileexchange/70530-centered-colormap-generator), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2018b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!