On 8/25/07, Deen Sethanandha <[EMAIL PROTECTED]> wrote:
> Could someone help me figure out how I can move the x lebel to match
> the bar chart?

When using rotated ticks, if you do not set the horizontal alignment
to 'right' they will look misaligned, as in your example.  Recent
versions of mpl have a figure method to rotate the ticks, move the
bottom of the subplot up to accomodate them, turn off xticks on upper
supplots, and set the horizontal alignment:

  fig.autofmt_xdate()

but you can also set the alignment manually with


setp(labels, rotation= 45, fontsize=8, horizontalalignment='right')

JDH

-------------------------------------------------------------------------
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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to