> That sounds more feasible -- however, keep in mind that anything without a > public interface (a get_* method) is free to change in a future version of > matplotlib. I suspect (though haven't thought it all the way through) that > you may be required to dig into private members to get everything you need.
That may be possible, particularly I suppose for the actual plot data (x, y(, z) values). I'm going to have to look into what matplotlib.get* can offer me. Is there a list with all the methods available? > I also suspect that this will be a lot of work to support all of the kinds > of plots that matplotlib supports, and problems are likely to arise when the > semantics of Pgfplot and/or TikZ don't mesh well. For example, does Pgf > plot support the same set of nonlinear transformations as matplotlib? matplotlib and Pgfplots certainly have a different feature set, but for a couple of common simple plots (e.g., 2D x, y data, log-scaled axes, lines, markers, and so forth) it should be possible to write a very basic extendible translator. > Other people have suggested TikZ support in the past, and I, personally, > haven't been very convinced of the usefulness of such a thing. Well, yeah, I guess it is possible to export PDF files in such a way that it looks sort of nice if you watch out what you do with the font sizes, and font family in general. Over the years I've become somewhat tired of that whole tinkering with the fonts, and eventually I'd be about 80% happy with the result I got. If you don't want to do that every time, and you want 100%, TikZ/Pgfplots can come in quite handy; especially if a simple module can be written rather quickly. If you have a simple 2D plot and you would like to get it cleanly into your LaTeX file, why not use TikZ if it's available? Cheers, Nico ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel