| Author |
Comment/Response |
david silverman
|
08/01/02 07:23am
I need to put tick labels on the horizontal axis so that they are written vertically so that they do not overlap. You recently showed how to do this with Epilog. Is there a simpler way? I've got monthly data for 51 years and I'd like to label every January with the year. Your example makes it look like I'll need 51 Text[...] commands.
Here's what I'm using:
month = Table[{j, 1951 + IntegerPart[j/12]}, {j, 1, Length[data], 12}];
ListPlot[data, Ticks -> {month, Automatic}, PlotJoined -> True, PlotRange -> All]
But the labels come out on top of each other, so I'd like to rotate them.
Thanks.
URL: , |
|