My data has 72 columns. I get an error message when using the rotateticklabel function according to:
Index exceeds matrix dimensions.
Error in rotateXLabels/createNewLabels (line 146)
textLabels(ll) = text( ...
Error in rotateXLabels (line 34)
h = createNewLabels( ax, vals, labels, angle );
It works fine up to 47 columns. But if the data is larger, I get this error.
Does anyone know how to solve this?
Thank you in advance.
It worked, but not when I was using ticks which I had set. The plot I was trying has 21 points, but I only wanted to label every third point [125, 250 500 1000 2000 4000 8000]. The labels that I had used earlier were used, but the other ticks were also labeled
125, 2 3 250 5 6 500 8 9 and so on. So a work around will need to be found. Thank you for the posting.