No BSD License  

Highlights from
Rotate XTick Labels for multi-axes

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

Rotate XTick Labels for multi-axes

by Peter

 

10 Oct 2007 (Updated 11 Oct 2007)

Rotate the Xticklabels for a graph with more than onre axes

| Watch this File

File Information
Description

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

Acknowledgements

The author wishes to acknowledge the following in the creation of this submission:
XTICKLABEL_ROTATE
This submission has inspired the following:
Rotate X-axis tick labels

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
annotation Peter 22 Oct 2008 09:31:04
customization Peter 22 Oct 2008 09:31:04
rotate Peter 22 Oct 2008 09:31:04
xticklabel Peter 22 Oct 2008 09:31:04
mutliaxes Peter 22 Oct 2008 09:31:04
label Peter 22 Oct 2008 09:31:04
rotate Markus 05 Aug 2009 03:29:08
rotate Adi Agrawal 29 Oct 2009 13:39:12

Contact us at files@mathworks.com