I would like to make a three-dimensional contour graph using Mayavi, just like the third figure on this page (model of a cloud of hydrogen electrons):
http://www.sethanil.com/python-for-reseach/5
I have a set of data points that I created using my own model that I would like to use. Data points are stored in a multidimensional array of dummies, for example:
XYZV = [[1, 2, 3, 4], [6, 7, 8, 9], ... [4, 5, 6, 7]]
Data points are not evenly distributed in XYZ space and are not stored in any particular order. I think the example uses a mesh grid to generate data points - I looked up, but I don't understand it at all. Any help would be much appreciated?

(source: sethanil.com )
python numpy plot contour mayavi
joshlk
source share