Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.7 | 3 ratings Rate this file 26 Downloads (last 30 days) File Size: 4.8 KB File ID: #45172 Version: 1.0
image thumbnail



Kyle Andringa (view profile)


Rotate the X Tick Label Text

| Watch this File

File Information

This function rotates the orientation of the XTickLabel by specifying a rotation angle in degrees.


This file inspired X Yrotalabel Rotate X Axis And Y Axis Labels.

Required Products MATLAB
MATLAB release MATLAB 8.0 (R2012b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
24 Feb 2016 Luis Faria  
07 Mar 2014 Haosense Xu

not bad.Thanks!

28 Jan 2014 Kenzo

Kenzo (view profile)

Hello Everybody!
I use matlab (R2012b) and want to rotate value on x-axis, but I get the message below:
'Undefined function 'rotateXLabels' for input arguments of type 'double'.'
Here is my code:

lower = [0 50 300 500 1000 2000 3000 4000 5000 6000 7000 8000];
upper = [50 300 500 1000 2000 3000 4000 5000 6000 7000 8000 9000];

total = zeros(1,length(lower)); % number of BSs with this Power

Tx_power = Tx_Pow10;%(Tx_Pow10 > 19);

for i = 1:length(lower)
total(i) = length(find(Tx_power > lower(i) & Tx_power <= upper(i)));

the command doc rotateXLabels doesn't find anything about rotateXLabels.
I'm wondering if my matlab version old or what I'm doing wrong. Can u help me please?
I also tried xticklabel_rotate, rotateticklabel, but I get the same issue

Comment only
22 Jan 2014 Rainer

Rainer (view profile)


Contact us