How to change axis legend orientation
Afficher commentaires plus anciens
Hi everybody, is there a way to change the orientation (from horizontal to vertical) of the axis of a normal graph. I can not find any properties that rotates the number or the text at each point on the axis. For example I would like to see the number 100, 200, 300 etc written vertically and not horizontally. 100 --> 1 200-->2 300-->3 0 0 0 0 0 0 Thank you in advance. Regards.
Réponses (1)
David Sanchez
le 17 Oct 2013
0 votes
You can try this link: http://www.mathworks.com/matlabcentral/fileexchange/27812-rotate-x-axis-tick-labels/content/rotateXLabels.m
It provides a function to do just that.
Catégories
En savoir plus sur Just for fun dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!