Rotating LabelTick in Colorbar
Show older comments
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
Answers (4)
Image Analyst
on 2 Nov 2013
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
Miguel
on 4 Nov 2013
0 votes
1 Comment
Image Analyst
on 4 Nov 2013
Edited: Image Analyst
on 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
on 4 Nov 2013
0 votes
Use this tool to turn the ticks to text as IA has pointed out.
Miguel
on 4 Nov 2013
0 votes
Categories
Find more on Colorbar in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!