si...@mungewell.org wrote: >> Anyhow, if you get a python version of plsmem to work following the general >> PLplot/swig implementation overview I have described, then I would be >> pleased to accept your patch to bindings/python/plplotcmodule.i as well as >> the trivial patch for bindings/swig-support/plplotcapi.i that I >> mentioned above. >> > > Turns out that the whole patch is pretty trival, see attached. The sample > script will plot to a memory buffer, and then uses PIL to write this to a > file. > > You can even open an image, convert to buffer, plot and write back to > image if you want to do overlays, etc. > > Have fun, and let me know if it causes any problems.
This has a dependency on pybuffer that is not part of "standard" Python? I at least do not seem to have this library w/ Python 2.6 on Ubuntu. How hard is it do get the same result relying solely on Numpy? I'm not sure we want another dependency just for the purposes of being able to use plsmem. -Hazen ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel