From: Brian D'U. <du...@gm...> - 2009-08-28 15:14:57
|
Werner, Thank you for your suggestion. I started off porting something like wxPLplotstream.cpp to python, as you suggested. I had some quick success with it so I am now working on a python class more like wxPLplotwindow.cpp. It all seems to be working well, and I can even use multiple streams to handle multiple plots simultaneously. Once I get it in decent shape I will post it here. I did need to make a couple of changes to plplotcapi.i so swig would wrap pl_cmd() and PLESC_DEVINIT, since there were not part of the bindings. Is there a chance that these could be exposed in the python bindings in the next release of plplot? I saw some problem with the void* in pl_cmd() while trying to recompile all the bindings, but it is OK with python. I don't know enough about swig or the other languages to fix the problem there. I don't have a quantitative comparison yet, but it looks like plplot is quite fast compared to the other options I have found for wxPython. Thanks again, Brian |