フィルターのクリア

How to change my color map

2 ビュー (過去 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 Center および File ExchangeBlue についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by