Axplot3D in Qt4

Good morning

I’m working in a project in QT4 and I need to create a 3D graph embedded in a Widget form. Is it possible to do it? and where I could get an example?

Thanks

German

Hi German,

Although I haven't tried it, it should certainly work.

Please look at the examples which embed QT4:
http://matplotlib.sourceforge.net/examples/animation/animation_blit_qt4.html
and http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html.

All you'll need to do is replace the add_subplot() call with something
like ax = Axes3D(fig). Then you can combine the QT4 example with the
mplot3d examples, e.g.
http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo.html

Cheers,
Reinier

···

On Sun, Aug 23, 2009 at 11:16 AM, German Ocampo<gerocampo@...287...> wrote:

Good morning
I'm working in a project in QT4 and I need to create a 3D graph embedded in
a Widget form. Is it possible to do it? and where I could get an example?

Thanks
German
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options

--
Reinier Heeres
Tel: +31 6 10852639