No BSD License  

3.5

3.5 | 2 ratings Rate this file 23 Downloads (last 30 days) File Size: 7.75 KB File ID: #20529

yticklabel_rotate

by

 

01 Jul 2008 (Updated )

A y-axis version of the excellent xticklabel_rotate

| Watch this File

File Information
Description

Just an y-axis version of the very useful xticklabel_rotate function

Acknowledgements

Xticklabel Rotate inspired this file.

MATLAB release MATLAB 6.5 (R13)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
27 Sep 2011 JohnGalt

I too had the labels on the figure... Fixed it by changing the line:
"x = yLabelPosition(1)+1;"
to
"x = yLabelPosition(1);"

13 May 2010 John

Same as above...The yaxis labels are placed in the middle of the figure instead of along the left-hand side.

18 Feb 2009 Ivan  
01 Jul 2008 John D'Errico

I tried this as a test.

plot(rand(10))
yticklabel_rotate

It puts the labels on top of the figure, not to the left of the figure. As well, it dramatically changes the shape of the plot axes for no good apparent reason.

The help seems reasonable, but the above appears to be a significant bug.

Contact us