Getting rid of order of 10 axes labels
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Thishan Dharshana Karandana Gamalathge
le 25 Oct 2017
Commenté : Thishan Dharshana Karandana Gamalathge
le 26 Oct 2017
I have a plot with two Y-axes. On the Right side axis, I have to show the tick marks in a normal way rather than in the order of 10 (which the figure automatically shows). For an example, now the tick mark shows 2.5x10^4, but i need it appear as 25000.
1 commentaire
Walter Roberson
le 25 Oct 2017
Which MATLAB release are you using? Since roughly R2015b there has been a nicer way of changing this.
Réponse acceptée
Adam
le 25 Oct 2017
hAxes.YAxis.Exponent = 0;
should work, off the top of my head. I don't have Matlab with me at the moment to check though.
6 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!