Customise colorbar labels (exponent)
Ältere Kommentare anzeigen
Hello everyone, I have a problem with setting up a colorbar for a coloured contour plot. For matter of coherence with overlying contour lines, I would like the labels of the ticks of the colorbar expressed as 5, 10 and 15 * 10^10 and not 0.5, 1 and 1.5 *10^11. In other words, I would like "x 10^10" above the numbers of the ticks in place of "x 10^11" as now appears (see image) (and not other solutions like "e10" after each single tick label).
Now my code is just
c = colorbar;
c.Ticks=[-15*10^10:5*10^10:15*10^10];
Thank you to whoever will be able to answer my question.

Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Red finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

