Rotating LabelTick in Colorbar
Mostrar comentarios más antiguos
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
Respuestas (4)
Image Analyst
el 2 de Nov. de 2013
Use text() which does have a rotation option
text(x, y, yourLabel, 'Rotation', 90);
Miguel
el 4 de Nov. de 2013
0 votos
1 comentario
Image Analyst
el 4 de Nov. de 2013
Editada: Image Analyst
el 4 de Nov. de 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
el 4 de Nov. de 2013
0 votos
Use this tool to turn the ticks to text as IA has pointed out.
Miguel
el 4 de Nov. de 2013
0 votos
Categorías
Más información sobre Colorbar en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!