From: Darren D. <dar...@co...> - 2008-05-08 10:50:30
|
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{total baryons}$')) > > but the \rm is badly interpreted :-( . Does this work better? pt.legend((r'$\rm{total baryons}$')) |