How to change my color map

1 次查看(过去 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.

采纳的回答

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

更多回答(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