Re: [Matplotlib-users] LateX Legend (again)

2010-02-10 Thread Jeffrey Blackburne
Original Message- >> From: Jeffrey Blackburne [mailto:je...@mit.edu] >> Sent: Wednesday, February 10, 2010 9:45 AM >> To: matplotlib-users@lists.sourceforge.net >> Subject: [Matplotlib-users] LateX Legend (again) >> >> Hi everyone, >> >> This has been

Re: [Matplotlib-users] LateX Legend (again)

2010-02-10 Thread PHobson
ffrey Blackburne [mailto:je...@mit.edu] > Sent: Wednesday, February 10, 2010 9:45 AM > To: matplotlib-users@lists.sourceforge.net > Subject: [Matplotlib-users] LateX Legend (again) > > Hi everyone, > > This has been brought up before, but not completely addressed. Is it > possi

[Matplotlib-users] LateX Legend (again)

2010-02-10 Thread Jeffrey Blackburne
Hi everyone, This has been brought up before, but not completely addressed. Is it possible to get the text in a Legend to match the rest of the text when using LateX? Here is an example of the problem: import matplotlib as mpl mpl.rcParams['text.usetex'] = True import matplotlib.pyplot as plt

Re: [Matplotlib-users] LateX Legend

2008-05-08 Thread Darren Dale
On Thursday 08 May 2008 5:13:20 am Yves Revaz wrote: > Dear List, > > How is it possible to write legend text with LateX fonts ? > Even with > rc('text', usetex=True) > the legend created with the command "legend" do not appear with LateX > fonts. > > I try something like : > > pt.legend(('$\rm{tot

[Matplotlib-users] LateX Legend

2008-05-08 Thread Yves Revaz
Dear List, How is it possible to write legend text with LateX fonts ? Even with rc('text', usetex=True) the legend created with the command "legend" do not appear with LateX fonts. I try something like : pt.legend(('$\rm{total baryons}$')) but the \rm is badly interpreted :-( . Thanks for you