[Matplotlib-users] TikZ/PGF backend

2010-02-16 Thread Nico Schlömer
Well, I spend some time now setting up a framework for exporting matplotlib generated figures to TikZ code. You can find it on http://github.com/nicki/matplotlib2tikz The workflow is essentially that you generate your plot (dont show()), and then call matplotlib2tikz("myfile.tikz"); using a pr

Re: [Matplotlib-users] TikZ/PGF backend

2009-08-20 Thread jason-sage
Justin Findlay wrote: > I'm trying to find a way to embed matplotlib graphs in LaTeX > documents. Ideally a solution would involve converting MPL's output > to TikZ in order to get native rendering of the graphics and text. > This seems like the "Right Way" to go, unfortunately, my classes start >

Re: [Matplotlib-users] TikZ/PGF backend

2009-08-20 Thread Justin Findlay
On Thu, Aug 20, 2009 at 3:56 PM, John Hunter wrote: > What's wrong with including the ps/eps output in your latex docs, or > the pdf output for your pdflatex docs?  That's what most people do. > You can enable the "usetex" option if you want tex to render the text The difference is subtle. By hav

Re: [Matplotlib-users] TikZ/PGF backend

2009-08-20 Thread John Hunter
On Thu, Aug 20, 2009 at 4:08 PM, Justin Findlay wrote: > I'm trying to find a way to embed matplotlib graphs in LaTeX > documents.  Ideally a solution would involve converting MPL's output > to TikZ in order to get native rendering of the graphics and text. > This seems like the "Right Way" to go,

[Matplotlib-users] TikZ/PGF backend

2009-08-20 Thread Justin Findlay
I'm trying to find a way to embed matplotlib graphs in LaTeX documents. Ideally a solution would involve converting MPL's output to TikZ in order to get native rendering of the graphics and text. This seems like the "Right Way" to go, unfortunately, my classes start on Monday, and I'm neither pyth