How to display Xtick values without exponential notation

조회 수: 8 (최근 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 CenterFile Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by