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() .
Sean de Wolski
2013 年 11 月 4 日
Use this tool to turn the ticks to text as IA has pointed out.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Colorbar についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!