No License

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

» Watch video

Highlights from
Rotate XTick Labels for multi-axes

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 8.67 KB File ID: #16804 Version: 1.0

Rotate XTick Labels for multi-axes


Peter (view profile)


10 Oct 2007 (Updated )

Rotate the Xticklabels for a graph with more than onre axes

| Watch this File

File Information

This is a simple extension of the excellent xticklabel_rotate code from Brian Katz (originally Denis Gilbert) to work on graphs with two axes.


Xticklabel Rotate inspired this file.

This file inspired X Yrotalabel Rotate X Axis And Y Axis Labels and Rotate X Labels( Ax, Angle, Varargin ).

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
21 Feb 2008 Peter Platzer

thanks to a kind user, please see the following correction to the code:
line 129: %check that we have label for each XTick

line 130: if size(XTick,1) ~= size(xTickLabels,1),

line 131: error('xticklabel_rotate : must have same number of elements in "XTick" and "XTickLabel"') ;

line 132: end

Comment only

Contact us