How to change axis legend orientation
Show older comments
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.
Answers (1)
David Sanchez
on 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.
Categories
Find more on Legend in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!