How to display Xtick values without exponential notation
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
jinang patel
le 13 Déc 2020
Réponse apportée : Ameer Hamza
le 13 Déc 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'.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/459310/image.png)
0 commentaires
Réponse acceptée
Ameer Hamza
le 13 Déc 2020
It is not the property of figure handle. You need to use axes handle
ax = gca;
ax.XAxis.Exponent=0
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!