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
> on Monday, and I'm neither python nor TeX guru enough to begin a
> project so ambitious and important.  This is what I have done so far,
> benevolent user that I am,
>
> https://sourceforge.net/tracker/?func=detail&aid=2841217&group_id=80706&atid=560723
>
> If anyone has more information on this or code to this effect I would
> be very interested in learning/contributing.
>   

Last year I spent an evening trying to modify the ps or pdf backends to 
be a PGF/TIKZ backend.  I wasn't very successful, but I was also trying 
to learn the system too.  It seems like it would be easy to implement 
the few primitives in PGF instead of postscript, since the models are 
pretty similar, from what I recall.  I haven't spent the time to revisit 
it, though, and it probably won't make it back to the top of my list for 
a while.

For those trying to pursue this, the PGF documentation is handy: 
http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf 


See p. 439 and p. 461 for commands for drawing paths with the "basic" 
layer, for example.


Jason

-- 
Jason Grout

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to