QImage

Dear All,

I have a code that creates plots using pylab module, using pylab.plot().
I want to use the output of this moudule in qt (QImage or QPixmap).

Would you please guide me in this regard?

Thank you in advance.
Navid

···

Bored stiff? Loosen up…
Download and play hundreds of games for free on Yahoo! Games.

You probably want to embed your matplotlib code directly into qt:

http://matplotlib.sourceforge.net/examples/embedding_in_qt.py
http://matplotlib.sourceforge.net/examples/embedding_in_qt4.py

This means not using the pylab interface but it is a minor translation. See

http://matplotlib.sourceforge.net/examples/pythonic_matplotlib.py

and

http://matplotlib.sourceforge.net/faq.html#OO

JDH

···

On 5/31/07, Navid Parvini <parvini_navid@...9...> wrote:

Dear All,

I have a code that creates plots using pylab module, using pylab.plot().
I want to use the output of this moudule in qt (QImage or QPixmap).