Hi ,
I am plotting some date based data (dates/values).
Seems to work ok. The code snippet is below.
But what I am trying to do is set the font size of the (%b)
month labels (Jan,Feb etc) as they are too big for my small graph
and they run into each other ..
ax.xaxis.set_major_formatter( DateFormatter('%Y') )
ax.xaxis.set_major_locator( YearLocator() )
ax.xaxis.set_minor_formatter( DateFormatter('%b'))
ax.xaxis.set_minor_locator( MonthLocator(interval=1) )
ax.plot_date(dates,values, label="My
Label",color='g',linestyle='-',marker='.')
Thanks / Frank
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users