From: Robert K. <rob...@gm...> - 2011-05-16 15:06:46
|
On Mon, May 16, 2011 at 09:23, Johannes Radinger <JRa...@gm...> wrote: > > -------- Original-Nachricht -------- >> Datum: Mon, 16 May 2011 08:28:49 -0500 >> Von: Robert Kern <rob...@gm...> >> An: SciPy Users List <sci...@sc...> >> CC: mat...@li... >> Betreff: Re: [Matplotlib-users] [SciPy-User] use matplotlib to produce mathathematical expression only > >> On Mon, May 16, 2011 at 08:21, Johannes Radinger <JRa...@gm...> wrote: >> > Hello, >> > >> > I want to produce a eps file of following mathematical expression: >> > >> r'$F(x)=p*\frac{1}{s1\sqrt{2\pi}}*e^{-\frac{1}{2}*(\frac{x-m}{s1})}+(1-p)*\frac{1}{s1\sqrt{2\pi}}*e^{-\frac{1}{2}*(\frac{x-m}{s1})}$' >> > >> > is it possible to somehow missuse matplotlib for that to produce only >> the function without any other plot things? Or is there a better python >> library within scipy? I don't want to install the complete latex libraries just >> for producing this single eps file. >> >> Check out mathtex. It is matplotlib's TeX parsing engine and renderer >> broken out into a separate library: >> >> http://code.google.com/p/mathtex/ > > I also thought about mathtex but don't know how to use my mathematical expression without a plot of axis etc. any suggestions? I just want to have the formated math expression as eps and I don't know how to do it, still after reading in the matplotlib-manual. The mathtex that I link to above is a separate library, not a part of matplotlib. Please follow the link. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |