how to turn off scientific notations in figure ??? likein mine i'm getting 3+e02 i want it 300 only

2 views (last 30 days)
rather than having 3e+04 how to get 30000

Answers (1)

Joep
Joep on 3 Jul 2015
Edited: Joep on 3 Jul 2015
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(:))));

Tags

Community Treasure Hunt

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

Start Hunting!