2009/11/1 Stéfan van der Walt <ste...@sun.ac.za>:
> 2009/10/31 Eric Firing <efir...@hawaii.edu>:
>> You forgot the attachment.
>
> I hate it when that happens -- here it is!

Hey Stéfan,

To avoid the overlap on the titles and ticks, you will want to play
with the font size of the ticks and title, but most importantly the
subplots_adjust parameters hspace and wspace.
If using a suptitle, you may also want to adjust top.

Eg,

# you can also click on the "subplots adjust" toolbar icon to play with the
# settings to get something that looks right and then hard code this
fig.subplots_adjust(hspace=0.4, wspace=0.4)

for ax in ax1, ax2, ax3, ax4:
    ax.title.set_fontsize(11)
    for label in ax.get_xticklabels() + ax.get_yticklabels)():
        label.set_fontsize(9)

You can also use rc parameters to control the defaults:
http://matplotlib.sourceforge.net/users/customizing.html

JDH

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to