Animate 3D Surface

2009-06-27 Thread Philip Gröger
Hi, is there a way to animate a 3D surface in python using matplotlib 0.98 / mayavi 3 (i have the python(xy) suite for windows) or vpython? In *vpython* I tried to adjust the included faces_heightfield.py demo. But didnt find a way to delete the old surface. I just add more... In *matplotlib* I h

Animate Surface / Clear Scene (vpython)

2009-06-24 Thread Philip Gröger
Hi there! I just found a nice vpython example program on how to create surfaces (its one of the standard examples if you download vpython ... called "faces_heightfield" - just search for that). Is there a way to animate this surface? All my attempts resulted in creating just another surface withou

Create 3D Surface / Contour (with vpython?)

2009-06-17 Thread Philip Gröger
Hi! How can I create a 3D surface (or something like the picture on the FAQ page http://www.vpython.org/contents/FAQ.html ) with python [or vpython]. Didnt find anything in the Documentation under "graph" Basically like a contourf diagram in 3D ( http://www.techsoft.de/german/documents/images/3D_co

Create multiple variables (with a loop?)

2009-06-05 Thread Philip Gröger
Hi, I need to create multiple variables (lets say 10x10x10 positions of atoms). Is it possible to create them through a loop with some kind of indexing like atom000, atom001, etc? Or is this a very bad idea? Thing is ... i want to create a grid of atoms in vpython and then calculate the forces for