Re: [Matplotlib-users] Latex in Figures

2008-03-18 Thread Michael Droettboom
Mattias' suggestion is a good one if you have a full TeX environment installed. Otherwise, it looks like you're using some features that are only available in 0.91.x (but not earlier versions), for example "\sin". If you can, try upgrading. Cheers, Mike Lorenzo Isella wrote: > Dear All, > I

Re: [Matplotlib-users] Latex in Figures

2008-03-18 Thread Matthias Michler
Hello Lorenzo, maybe you don't really use Tex to build the labels and mathtext does not support any Tex-functionality. if you use: from matplotlib import rc rc('text', usetex=True) import pylab as p it should work. Alternat

[Matplotlib-users] Latex in Figures

2008-03-18 Thread Lorenzo Isella
Dear All, I think the solution to my problem must be a one-liner, but I have been unsuccessful. I am trying to use latex formulas (nothing dramatically complicated) inside a figure. I suppose everything is working correctly on my system. I tried running the example at: http://www.scipy.org/Cookbook