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.
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.
Try removing the spaces, that makes it look good for me:
xlabel(‘first line\nsecond line’)
Ryan
On Fri, Jun 5, 2009 at 2:32 PM, Yves-Alexandre <yvesalexandre@…32…> 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
–
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from Norman, Oklahoma, United States
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
accomplish the task.
Gökhan
On Fri, Jun 5, 2009 at 2:32 PM, Yves-Alexandre <yvesalexandre@…32…> 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
best,
-Yva.
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