<div class="gmail_quote">On Wed, Jun 17, 2009 at 12:58 PM, Philip Gröger <span dir="ltr"><<a href="mailto:philip.groeger@googlemail.com">philip.groeger@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>How can I create a 3D surface (or something like the picture on the FAQ page <a href="http://www.vpython.org/contents/FAQ.html" target="_blank">http://www.vpython.org/contents/FAQ.html</a> ) with python [or vpython]. Didnt find anything in the Documentation under "graph"<br>

Basically like a contourf diagram in 3D (<a href="http://www.techsoft.de/german/documents/images/3D_contour2.jpg" target="_blank">http://www.techsoft.de/german/documents/images/3D_contour2.jpg</a>). I think you know what I mean. <br>
 <br>
Reason: I want to simulate waves in a square basin. Hope I dont need to use hundrets of little spheres (in case of vpython) for the surface ;)<br> <br>Thanks alot<br><font color="#888888"> <br>- Philip
</font><br>--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
<br></blockquote></div><br>I suggest two alternatives, second one being the fancier:<br><br><a href="http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo.html">http://matplotlib.sourceforge.net/examples/mplot3d/surface3d_demo.html</a><br>
<br><a href="http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab_helper_functions.html#enthought.mayavi.mlab.surf">http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/mlab_helper_functions.html#enthought.mayavi.mlab.surf</a><br>
<br><br>