Could you tell me how can I change an axis "multiplier"? I mean a value I circled in the picture, let's say I would like to have x10^3 instead of x10^4.
As of R2015b it is part of the Numeric Ruler Properties:
ax = get(gca);
ax.YAxis.Exponent = -3;
I have little bit tricky solution:
YTickMode
to manual
.YTickLabel
.here is:
set(gca, 'YTickMode', 'manual');
set(gca, 'YTickLabel', get(gca,'YTick') / 1000);
text(0, 1.02 * get(gca,'YLim')(2), 'x 10^3');
Play with the multiplier 1.02
in the third line to place your text to the good place.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With