FYI, Veusz CVS supports being embedded in other Python programs. See the
embed.py module:
import time
import numarray
import veusz.embed as veusz
g = veusz.Embedded('new win')
g.To( g.Add('page') )
g.To( g.Add('graph') )
g.SetData('x', numarray.arange(20))
g.SetData('y', numarray.arange(20)**2)
g.Add('xy')
g.Zoom(0.5)
time.sleep(60)
g.Close()
THanks to clever coding :-) the Qt mainloop runs in a thread, so the
python program doesn't need to know anything about Qt, and even the
command line works :-)
Multiple plot windows are supported.
Documentation not complete, but all the scripting language should work.
Jeremy
--
Jeremy Sanders <[EMAIL PROTECTED]>
http://www.jeremysanders.net/ Cambridge, UK
Public Key Server PGP Key ID: E1AAE053