Y axis in scientific form
Show older comments
Hello,
I want to plot Y axis in the scientific form and not in engineering form (es 1E4 and not 10^4), si it possible?
Accepted Answer
More Answers (1)
Walter Roberson
on 27 May 2020
0 votes
If you are referring to the scale factor that sometimes get put up near the top of the Y axes, then the answer is that there is no known way to change the format of it. There are only ways to enable it or disable it or to change the basic power (e.g., you could force it to be 10^3 in which case the automatic axes labels could be in the tens).
In the case where you want something like that but what is provided automatically does not meet your needs, then you will probably need to text() what you want into place. You might need to set the axes 'clipping' to 'off'
It just might be possible to locate an internal text() object used for the exponent and modify it; that would take some investigation.
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!