How do I remove the 'x10^5' indicator next to the axes in MATLAB 7.14 (R2012a)?
62 views (last 30 days)
Show older comments
I have a plot for which the X-data ranges in the order of 10^5. So, when I plot the data, I see a text indicator at the end of the axis showing 'x10^4'.
Here is an example of this:
plot(1e5:1.5e5);
I would like to remove this text. How do I do this?
Accepted Answer
MathWorks Support Team
on 23 Mar 2012
You can change the X-tick labels in order to display them as complete numbers in the label itself.
set(gca, 'XTickLabel', get(gca, 'XTick'));
0 Comments
More Answers (0)
See Also
Categories
Find more on Axis Labels 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!