On Fri, Jun 5, 2009 at 2:32 PM, Yves-Alexandre <yvesalexan...@hotmail.com>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('first line\nsecond line')
Ryan
--
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from Norman, Oklahoma, United States
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users