How to change my color map
1 回表示 (過去 30 日間)
古いコメントを表示
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.
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 で Colormaps についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!