How to change my color map
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Nurul Ain Basirah Zakaria
il 9 Nov 2020
Commentato: Ameer Hamza
il 9 Nov 2020
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 Commenti
Risposta accettata
Ameer Hamza
il 9 Nov 2020
You can flip the colormap
ax = axes();
% create the figure
pcolor(..);
ax.Colormap = flipud(ax.Colormap) % reverse the colormap
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Blue in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!