How to display Xtick values without exponential notation

19 ビュー (過去 30 日間)
jinang patel
jinang patel 2020 年 12 月 13 日
回答済み: Ameer Hamza 2020 年 12 月 13 日
I want to display Xtick without exponentail digits notations. Is there was way to do the same? I tried setting X component to 0 with "fig.XAxis.Exponent=0", however it is not recognized as a property
No appropriate method, property, or field 'XAxis' for class 'matlab.ui.Figure'.

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 12 月 13 日
It is not the property of figure handle. You need to use axes handle
ax = gca;
ax.XAxis.Exponent=0

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by