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

2 ビュー (過去 30 日間)
sneha kriplani
sneha kriplani 2015 年 7 月 3 日
編集済み: Joep 2015 年 7 月 3 日
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 Center および File ExchangeAxis Labels についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by