Modified CMRmap

Produces a colour colormap, of arbitrary length, that is monochrome-compatible.

https://github.com/IoSR-Surrey/MatlabToolbox

이 제출물을 팔로우합니다

NOTE: this function is now available from the IoSR Matlab Toolbox as iosr.figures.cmrMap.
-------------------------
Create a monochrome-compatible colour map

cmap = CMRmap
cmap = CMRmap(M)

cmap = CMRmap returns a colour map CMAP (varying black - purple - red - yellow - white) that is monochrome-compatible, i.e. it produces a monotonic greyscale colour map. CMAP is size Mx3, where M is the length of the current figure's colormap. If no figure exists, MATLAB creates one.

cmap = CMRmap(M) sets the colormap length to M.

The map is a slight modification to that suggested in [1].

EXAMPLE

figure;
imagesc(peaks(1000));
colormap(CMRmap(256));
axis image;
colorbar

REFERENCE

[1] Rappaport, C. 2002: "A Color Map for Effective Black-and-White Rendering of Color Scale Images", IEEE Antenna's and Propagation Magazine, Vol.44, No.3, pp.94-96 (June).

인용 양식

Christopher Hummersone (2026). Modified CMRmap (https://github.com/IoSR-Surrey/MatlabToolbox), GitHub. 검색 날짜: .

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 퍼블리시됨 릴리스 정보 Action
1.1.0.0

Migrated to GitHub.

1.0.0.0

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.