Rotating LabelTick in Colorbar
Ältere Kommentare anzeigen
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
Antworten (4)
Image Analyst
am 2 Nov. 2013
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
Miguel
am 4 Nov. 2013
0 Stimmen
1 Kommentar
Image Analyst
am 4 Nov. 2013
Bearbeitet: Image Analyst
am 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
am 4 Nov. 2013
0 Stimmen
Use this tool to turn the ticks to text as IA has pointed out.
Miguel
am 4 Nov. 2013
0 Stimmen
Kategorien
Mehr zu Annotations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!