File Exchange

image thumbnail

Rotate XTick Labels for multi-axes

version 1.0 (8.67 KB) by

Rotate the Xticklabels for a graph with more than onre axes



No License

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

Comments and Ratings (1)

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

MATLAB Release
MATLAB 7.5 (R2007b)

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

» Watch video

Win prizes and improve your MATLAB skills

Play today