How to keep the numbers on the colorbar scale of a surface plot fixed?
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jasnoor Singh
am 20 Mai 2016
Kommentiert: Chad Greene
am 20 Mai 2016
Following are my two surface plots (top view). Right now the first graph has colorbar scale from -40 to 40 while the second from -40 to 120. I want the colorbar axes to show the same scale in both, i.e., -40 to 120. Can someone please help? Thanks.
0 Kommentare
Akzeptierte Antwort
Chad Greene
am 20 Mai 2016
Bearbeitet: Chad Greene
am 20 Mai 2016
Set
caxis([-40 120])
after both plots.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Colormaps finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!