Rotating LabelTick in Colorbar
5 views (last 30 days)
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
0 Comments
Answers (4)
Image Analyst
on 2 Nov 2013
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
0 Comments
Miguel
on 4 Nov 2013
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
Use this tool to turn the ticks to text as IA has pointed out.
0 Comments
See Also
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!