Re: [Matplotlib-users] xlabel in two lines and centered

2009-06-05 Thread Gökhan SEVER
Hi, I sometimes create matplotlib plots without any labels on them -figures only. Then I add appropriate titles and/or labels using either MS Word or OO Writer. A few times used GIMP too to add additional texts. When I can't easily figure out things in matplotlib this method turns out helpful to

Re: [Matplotlib-users] xlabel in two lines and centered

2009-06-05 Thread Ryan May
On Fri, Jun 5, 2009 at 2:32 PM, Yves-Alexandre wrote: > Hi, > > A quick (probably easy) question: how do you do a label in two lines and > with both lines centered? > > xlabel('first line \n second line') don't center both :( Try removing the spaces, that makes it look good for me: xlabel('firs

[Matplotlib-users] xlabel in two lines and centered

2009-06-05 Thread Yves-Alexandre
Hi, A quick (probably easy) question: how do you do a label in two lines and with both lines centered? xlabel('first line \n second line') don't center both :( best, -Yva. -- OpenSolaris 2009.06 is a cutting edge oper