From: John T W. <joh...@li...> - 2007-07-24 15:40:09
|
On Tue, 24 Jul 2007, Jouni K. Seppänen wrote: > Peter Würtz <pw...@st...> > 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 joh...@li... joh...@ae... ====================================================================== |