Rotating LabelTick in Colorbar
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(4 个)
Image Analyst
2013-11-2
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
0 个评论
Miguel
2013-11-4
1 个评论
Image Analyst
2013-11-4
编辑:Image Analyst
2013-11-4
Your code is not working. You didn't even try my code. I didn't say to use annotation(). I said to use text() .
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Colorbar 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!