How to change my color map

조회 수: 3 (최근 30일)
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2020년 11월 9일
댓글: Ameer Hamza 2020년 11월 9일
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.

채택된 답변

Ameer Hamza
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
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria 2020년 11월 9일
thank you very much sir! more to learn from you!
Ameer Hamza
Ameer Hamza 2020년 11월 9일
I am glad to be of help!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Blue에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by