How to customize a colour map so that all values of 0 are equal to gray
조회 수: 14 (최근 30일)
이전 댓글 표시
Dear Matlab Community,
I am working with a nifti (.nii) image. I would like to plot the values I have using the 'jet' colormap.
With for example the 'jet' colormap, all values of 0 would have a green color. However, I would like to keep the jet colormap, but alter it so that all values of 0 instead show a gray color.
Can anyone please help as to how I can do this?
Thank you,
P.
댓글 수: 0
답변 (1개)
Swetha Polemoni
2021년 3월 29일
Hi
It is my understanding that you want to customize the colormap. You may find the following documentation helpful.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Red에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!