how to turn off scientific notations in figure ??? likein mine i'm getting 3+e02 i want it 300 only
Show older comments
rather than having 3e+04 how to get 30000
Answers (1)
try this:
for X-label
curtick = get(gca, 'XTick');
set(gca, 'XTickLabel', cellstr(num2str(curtick(:))));
for Y-label
curtick = get(gca, 'YTick');
set(gca, 'YTickLabel', cellstr(num2str(curtick(:))));
Categories
Find more on Environment and Settings 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!