How to change my color map
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi. How to change my colormap?

I want to reverse the color, -2 should be the orange one. Can anyone teach me how to do it. I've google but I dont really get it.
댓글 수: 0
채택된 답변
Ameer Hamza
2020년 11월 9일
You can flip the colormap
ax = axes();
% create the figure
pcolor(..);
ax.Colormap = flipud(ax.Colormap) % reverse the colormap
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Blue에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!