On Tue, Mar 16, 2010 at 3:30 AM, David <ld...@gmx.net> wrote:
> This did not yield any results. With the above code, xlab.set_position((0.2,
> 0.1)), I change the position of the xlabel.
> But the problem is that my graph is cut before the xlabel has a chance to
> appear (see dea.png). Basically the graph ends right after the x-axis. What
> I thus need is more whitespace under my x-axis. But how?

adjust your subplot parameters.

plt.subplots_adjust(bottom=0.2)

see

http://matplotlib.sourceforge.net/faq/howto_faq.html#move-the-edge-of-an-axes-to-make-room-for-tick-labels

http://matplotlib.sourceforge.net/faq/howto_faq.html#automatically-make-room-for-tick-labels

-JJ

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to