I have plotted some data using subplot in a 3 by 4 array. The y axis is from 0 to 15000 and the x axis is from 0 to 4. I know by default the plots should be in exponential format, however the first 4 subplots are not but the rest are. Why is this happening? How can I convert the y axis to exponential format? So it reads exponential to 3 decimal points?

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Feb. 2018

1 Stimme

ax = gca();
ax.YRuler.Exponent = 3;
ax.YRuler.TickLabelFormat = '%.3f';

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by