On Tue, 24 Jul 2007, Jouni K. Seppänen wrote:

Peter Würtz <[EMAIL PROTECTED]>
writes:

The documentation says that \rm{} should be used, but

"$\rm{some label text} (\mu V)$" becomes "somelabeltext\muV"

This is similar to what you would get in TeX, so strictly taken it is
not a bug. However, in TeX you could write "some label text ($\mu V$)"
instead, which unfortunately does not work with matplotlib. A workaround
is to type r"$\rm{some\ label\ text}\ (\mu V)$", (as Christian Meesters
already wrote).

Shouldn't
r"some label text ($\mu V$)"
work?

BTW, my EPS issues went away when I started starting my scripts with

from pylab import *
text.usetex = True
from matplotlib import rc
rc('text', usetex=True)

--
======================================================================
Office: 0.17 (Golm)                     Dr. John T. Whelan
Phone: +49 331 567 7117                 MPI for Gravitational Physics
FAX:   +49 331 567 7298                 (Albert-Einstein Institute)
http://www.aei.mpg.de/~whelan/          D-14424 Potsdam
[EMAIL PROTECTED]                    [EMAIL PROTECTED]
======================================================================
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to