When I am plotting contour plot along with colorbar automatically the scale of the z variable and colorbar becomes like 0.23(any value) x 10^4.Why?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How can I stop the scale of the z variable and colorbar from becoming something like 0.23(any value) x 10^4. Why is this happening and how do I stop it? I have tried Clim and caxis without any success!
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 22 Apr. 2013
The only known way to stop it is to set your own axis labels. For example,
zticks = get(gca, 'ztick');
set(gca, 'zticklabel', cellstr(num2str(zticks(:))))
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Colorbar 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!