How to change exponent position in an axis of a surface plot
30 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Rakshith Manikandan
le 5 Mai 2022
Commenté : Rakshith Manikandan
le 7 Mai 2022
How do I change the position of the 10^(-3) in one of the grounded axes shown in this plot above!!
0 commentaires
Réponse acceptée
dpb
le 5 Mai 2022
Modifié(e) : dpb
le 7 Mai 2022
It's an undocumented property --
hAx=gca; % get axes handle
hY=hAx.YRuler; % and the subject axis ruler handle of interest
>> hY.SecondaryLabel
ans =
Text (\times10^{5}) with properties:
String: '\times10^{5}'
FontSize: 10
FontWeight: 'normal'
FontName: 'Helvetica'
Color: [0.15 0.15 0.15]
HorizontalAlignment: 'right'
Position: [-2.2905 1.342e+05 -2.0262]
Units: 'data'
Show all properties
>>
is the text() object handle -- you can set the 'Position' as desired
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!