Change multiple exponent on x-axis.
古いコメントを表示
I have a plot with x-values between 0.85*10^5 and 0.115*10^5. I want to display the x-values as multiples of 10^3. How can I do that?
I looked around on forums and found the following method:
xtick = get(gca, 'xtick') xticklabel = strread(sprintf('%.0f;', xtick), '%s', 'delimiter', ';'); set(gca,'xticklabel', xtick)
But this method just converts the values into integers.
Any ideas?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!