Re: [Plplot-general] embedding plplot in a wxpython app

2009-09-06 Thread Hazen Babcock
Brian D'Urso wrote: > > My next question is perhaps more problematic: is there a chance of > regular releases of a windows build of plplot in the future? Now that > it is working so well for me, I would really like to use plplot from > wxpython in windows, but I have no experience building on wind

Re: [Plplot-general] embedding plplot in a wxpython app

2009-09-03 Thread Brian D'Urso
Werner, Just to finish up the earlier agg discussion - I got all three backends working and tested (including agg with wxImage) in the code I attached to my last message. > I need to talk/mail with Allan, what the best way is to include the wxphyton > bindings - if we make them "full" bindings,

Re: [Plplot-general] embedding plplot in a wxpython app

2009-09-03 Thread Alan W. Irwin
On 2009-09-03 21:07+0200 Werner Smekal wrote: > Hi Brian, > > On Sep 3, 2009, at 3:23 PM, Brian D'Urso wrote: > >> I have a functional wxpython driver for plplot up and running, and I >> attached the needed files: >> >> plplotcapi.i.diff is the changes I had to make in the swig interface >> file t

Re: [Plplot-general] embedding plplot in a wxpython app

2009-09-03 Thread Werner Smekal
Hi Brian, On Sep 3, 2009, at 3:23 PM, Brian D'Urso wrote: > I have a functional wxpython driver for plplot up and running, and I > attached the needed files: > > plplotcapi.i.diff is the changes I had to make in the swig interface > file to: > 1) expose pl_cmd(), PLESC_DEVINIT, and PLESC_GETBAC

Re: [Plplot-general] embedding plplot in a wxpython app

2009-09-03 Thread Werner Smekal
Hi Brian, sorry for not replying earlier, too much to do in these days. > > I've been using the wxDC backend, which works fine. I'm a little > confused about the AGG backend - I expect it to require a wxImage for > drawing (based on the wx binding) but it seems to want a wxDC - or > might it just

Re: [Plplot-general] embedding plplot in a wxpython app

2009-08-28 Thread Brian D'Urso
Werner, I attached a diff with my changes for plotcapi.i, starting with plplot-5.9.4 I included a number of constants for completeness, although of these I have only needed PLESC_DEVINIT. It compiles and runs with cmake options -DDEFAULT_NO_BINDINGS=ON -DENABLE_python=ON, so I only tested the pyth

Re: [Plplot-general] embedding plplot in a wxpython app

2009-08-28 Thread Werner Smekal
Hi Brian, > > 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

Re: [Plplot-general] embedding plplot in a wxpython app

2009-08-28 Thread Brian D'Urso
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 h

Re: [Plplot-general] embedding plplot in a wxpython app

2009-08-26 Thread Werner Smekal
Hi Brian, On 26.08.2009, at 17:01, Brian D'Urso wrote: > I am new to plplot, and I would like to embed it in a wxpython (python > + wxwidgets) application, within a window my app has created. I want > to try to use plplot for semi-real-time plotting (updated up to ~ 10 > times per second) on Linu