How to make map with unequal colorbar
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello everyone,
I know this question has been asked numeroud times, but still I am stuck at this.
I want to make a create a map in which colorbar is cutomized. I am pasting a example
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1705476/image.png)
Any help or tips will be great.
Thanks
댓글 수: 3
DGM
2024년 5월 28일
편집: DGM
2024년 5월 29일
It's not clear whether the triangle bits are included in the colortable or not. It doesn't make sense that they would be, but either way, it doesn't make sense that one is white, and the other replicates the prior color in the table.
For all colors shown:
CT = [255 255 255;
220 220 220;
175 238 238;
0 255 255;
144 238 144;
255 255 0;
255 165 0;
255 0 0;
139 0 0;
139 0 0]/255;
Excluding the ends:
CT = [220 220 220;
175 238 238;
0 255 255;
144 238 144;
255 255 0;
255 165 0;
255 0 0;
139 0 0]/255;
Make of that what you will.
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 White에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!