On Fri, Feb 22, 2008 at 11:04 PM, sa6113 <[EMAIL PROTECTED]> wrote: > > I could return the output object of the plot as image file , would you please > tell me how I have to convert image to QImage in order to use it in my GUI ?
I could, but this is a very poor way to do it. First, you would not be able to interact with your figure (pan, zoom, etc). 2nd, you would be using qimage to rescale your plot with the embedded window size an this would be far inferior to having matplotlib draw into the requested size. The right way to use this is to follow the example of http://matplotlib.sourceforge.net/examples/embedding_in_qt4.py 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