How to display Xtick values without exponential notation

10 Ansichten (letzte 30 Tage)
jinang patel
jinang patel am 13 Dez. 2020
Beantwortet: Ameer Hamza am 13 Dez. 2020
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'.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Specifying Target for Graphics Output finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by