Rank: 166149 based on 0 downloads (last 30 days) and 0 file submitted



Personal Profile:


Watch this Author's files


Comments and Ratings by Gadi
Updated File Comments Rating
11 Jun 2013 rotateXLabels( ax, angle, varargin ) Rotate x-tick labels to any angle, preserving font settings and coping with resize, zoom, pan etc Author: Ben Tordoff

I've pinpointed the issue with the "Index exceeds matrix dimensions." error and it's a bug somewhere else.

It has to do with "hold on" somehow adding 2 new tick marks to the figure.

Here is how to reproduce it on 2012a:

dat = 1:5;
fh = figure;
hold all;
set(gca,'XTickLabel', dat);

If you would remove "hold on", no error.

Contact us