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

2 次查看(过去 30 天)
rather than having 3e+04 how to get 30000

回答(1 个)

Joep
Joep 2015-7-3
编辑:Joep 2015-7-3
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(:))));

类别

Help CenterFile Exchange 中查找有关 Axis Labels 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by