Rotating LabelTick in Colorbar
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Good Morning.
I have a colorbar positioned in "northoutside" a mesh plot.
I would like to rotate the text of 90°. How could I do that? I saw that there is no "Rotation" property in the 'colorbar' class.
Suggestions?
Thank you very much
0 commentaires
Réponses (4)
Image Analyst
le 2 Nov 2013
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
0 commentaires
Miguel
le 4 Nov 2013
1 commentaire
Image Analyst
le 4 Nov 2013
Modifié(e) : Image Analyst
le 4 Nov 2013
Your code is not working. You didn't even try my code. I didn't say to use annotation(). I said to use text() .
Sean de Wolski
le 4 Nov 2013
Use this tool to turn the ticks to text as IA has pointed out.
0 commentaires
Voir également
Catégories
En savoir plus sur Colorbar 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!