How do I control exponent in plot

4 ビュー (過去 30 日間)
Marek Raclavsky
Marek Raclavsky 2020 年 12 月 4 日
コメント済み: Ameer Hamza 2020 年 12 月 4 日
When I plot a figure, Matlab automatically chooses e.g. x10^17 scale, but I would like the results to be displayed in x10^18 scale. Is there any way how can I change it without doing it manually with xtickslabel? Thanks

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 12 月 4 日
You need to set the exponent property of x-axis'. Something like this
ax = gca;
ax.XAxis.Exponent = 18;
  2 件のコメント
Marek Raclavsky
Marek Raclavsky 2020 年 12 月 4 日
Thank you very much!
Ameer Hamza
Ameer Hamza 2020 年 12 月 4 日
I am glad to be of help!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by