Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'more ticks' topicStudent Support Forum > General > Archives > "more ticks"

Next Comment >Help | Reply To Topic
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.


URL: ,

Subject (listing for 'more ticks')
Author Date Posted
more ticks david silver... 08/01/02 07:23am
Re: more ticks Henry Lamb 08/07/02 00:34am
Next Comment >Help | Reply To Topic