Zerocolor

Set colormap entry for zero values to specified RGB color

이 제출물을 팔로우합니다

The images are generated by the examples in the help section.

zerocolor(CLR)
Updates current figure's colormap so that zeros get color CLR. CLR is a vector between 0-1, e.g. [.4 .2 .9] or a standard MATLAB color string.

cmap = zerocolor(H,CLR)
Returns the updated colormap cmap based on the figure with handle H.

See the function help for all the syntax options. Not hard to adjust the code for an arbitrary value other than zero.

feedback is welcome

인용 양식

Jurgen (2026). Zerocolor (https://kr.mathworks.com/matlabcentral/fileexchange/39985-zerocolor), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Color and Styling에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0