Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread Jouni K . Seppänen
wfpunch writes: > I'm not clear on how to do the rotation of the font by the 45 degree angle > (as in the date mode) using just xticks. If there is some part to xticks > that would allow it I'd be pleased to hear it. Thanks. Add the rotation keyword argument: xticks(arange(5), ('Tom', 'Dick',

Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread wfpunch
I'm not clear on how to do the rotation of the font by the 45 degree angle (as in the date mode) using just xticks. If there is some part to xticks that would allow it I'd be pleased to hear it. Thanks. Jouni K. Seppänen wrote: > > wfpunch writes: > >> Is it possible to create an axis labe,

Re: [Matplotlib-users] label arbitrary strings on xaxis as in date mode

2009-04-25 Thread Jouni K . Seppänen
wfpunch writes: > Is it possible to create an axis labe, much like done for dates, using > arbitrary strings. For example, I'd like to plot word frequency where the > x-axis labels are the words and the y-axis the frequency. Does xticks do what you want? -- Jouni K. Seppänen http://www.iki.fi/