From: Nathan H. <nj...@ha...> - 2003-09-26 06:31:33
|
I ran across PyX (http://pyx.sourceforge.net/) yesterday. It handles eps and postscript beautifully! Combine with this snippet of code: import pygtk; pygtk.require("2.0") import sys import gtk import bonobo import bonobo.ui win = gtk.Window() win.connect("delete-event", gtk.mainquit) win.show() container = bonobo.ui.Container() control = bonobo.ui.Widget("file://home2/njh/numpy.pdf", container.corba_objref()) # A control widget is just like any other GtkWidget. control.show() win.add(control) gtk.main() And you have a simple plotting system with wysiwyg. Should Matplotlib move towards using PyX? -- njh http://www.csse.monash.edu.au/~njh/ |