On Feb 19, 2008 3:32 AM, sa6113 <[EMAIL PROTECTED]> wrote: > > I am writting an application that evaluate curve fit and draw its plot in a > GUI , I want to draw or show the plot on the GUI not on the pop up window, > but I don't want to save the figure in first step , user just enter an order > for the curve fit and see their plots on the main window (GUI) . > How can I use pylab for this purpose , does it return and QImage object for > exm. ?
In addition to the tutorial Alan pointed out to you, take a look at http://matplotlib.sourceforge.net/examples/embedding_in_qt.py http://matplotlib.sourceforge.net/examples/embedding_in_qt4.py and http://matplotlib.sf.net/faq.html#OO JDH ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users