Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-26 Thread Jouni K . Seppänen
John T Whelan <[EMAIL PROTECTED]> writes: > Shouldn't > r"some label text ($\mu V$)" > work? It doesn't work in any released version, but it seems that Michael Droettboom's recent mathtext improvements include this (and much more). -- Jouni K. Seppänen http://www.iki.fi/jks --

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 12:59:54 pm Peter Würtz wrote: > Hi, > > > Try getting your system set up to use the xpdf distiller, that has always > > given me excellent results. > > Thanks alot! Using xpdf gives perfect results! > http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
Hi, > Try getting your system set up to use the xpdf distiller, that has always > given me excellent results. Thanks alot! Using xpdf gives perfect results! http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_spectrum_bec_500ns.eps http://www.staff.uni-mainz.de/wuertz/matplotlib/xpdf_tof_sp

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Darren Dale
On Tuesday 24 July 2007 9:50:46 am Peter Würtz wrote: > Hi, > > I ran into some troubles when trying to do the following with > matplotlib: > - plotting a figure > - using latex for axis labels > - (getting acceptable fonts) > - getting a pdf in the end > I've not been able

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread John T Whelan
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. Howev

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Jouni K . Seppänen
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

Re: [Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Christian Meesters
Hoi Peter, > "$\rm{some label text} (\mu V)$" becomes "somelabeltext\muV" You could try r"$\rm{some\ label\ text} (\mu V)$" instead. (Note the backslashes and the 'raw' r in front of the string.) This way the string should be interpreted fine. You can use the '\ ' to force a space, but whether it'

[Matplotlib-users] Latex, Labels and PDF

2007-07-24 Thread Peter Würtz
Hi, I ran into some troubles when trying to do the following with matplotlib: - plotting a figure - using latex for axis labels - (getting acceptable fonts) - getting a pdf in the end I've not been able to solve this. In the documentation I found 2 ways to do this.