How to change my color map
1 次查看(过去 30 天)
显示 更早的评论
Hi. How to change my colormap?![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/407440/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/407440/image.png)
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!