Re: [Matplotlib-users] time axis format

2013-06-10 Thread Paul Hobson
In that case, I would use ax.tick_params(...) to make the font smaller. On Sat, Jun 8, 2013 at 7:36 AM, Sudheer Joseph wrote: > Dear Paul, >The issue I am facing is like in the attached plot where > the month naming get cluttered. > with best regards, > Sudheer > > **

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
Thank you, So there is no way to get J F M A etc with out reducing font size? We often need to make presentation in front of senior people who insist for bigger fonts. With best regards, Sudheer-- This SF.net email is spo

Re: [Matplotlib-users] time axis format

2013-06-10 Thread C M
On Mon, Jun 10, 2013 at 8:08 PM, Sudheer Joseph wrote: > > Thank you, > So there is no way to get J F M A etc with out reducing font size? > I bet there a number of ways. Offhand I don't know the one that, once I hear about it, I will say, "D'oh, that's so easy" but I bet it exists. But you cou

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Eric Firing
On 2013/06/10 2:08 PM, Sudheer Joseph wrote: > > Thank you, > So there is no way to get J F M A etc with out reducing font size? We > often need to make presentation in front of senior people who insist for > bigger fonts. > With best regards, > Sudheer One way is to subclass DateFormatter, e.g.,

Re: [Matplotlib-users] black and hatched legend handle

2013-06-10 Thread mgurling
That looks like exactly what I am looking for. Thanks JJ. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/black-and-hatched-legend-handle-tp40979p41247.html Sent from the matplotlib - users mailing list archive at Nabble.com. ---

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
Thank you Eric and CM, I have the below piece of code and added the new definition for minorLocs, but gets the below error. I believe I did not fully understand the concept you mentioned.  minorLocs = mdates.MonthLocator(bymonth=[1,3,5,7,9,11],bymonthday=15) minorFmt = mdates.DateFormatter('%b

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
Thank you CM,   I tried to rotate the labels but only major ticks get rotated and when I try with minor ticks as below I get error minlabels = ax.xaxis.get_minor_ticks() p.xticks(minlabels,rotation=90) --> 192 base =  float(dt.toordinal())     193 if hasattr(dt, 'hour

Re: [Matplotlib-users] time axis format

2013-06-10 Thread Sudheer Joseph
Got a solution as below p.setp(ax.xaxis.get_minorticklabels(), rotation=90 ) but still to understand how to get single letter from month name! with best regards, Sudheer - Original Message - > From: Sudheer Joseph > To: Eric Firing ; > "matplotlib-users@lists.sourceforge.net" > >