How do I control exponent in plot
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Marek Raclavsky
le 4 Déc 2020
Commenté : Ameer Hamza
le 4 Déc 2020
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
0 commentaires
Réponse acceptée
Ameer Hamza
le 4 Déc 2020
You need to set the exponent property of x-axis'. Something like this
ax = gca;
ax.XAxis.Exponent = 18;
2 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!