Hello,

I have a surface defined by three 2d arrays X, Y, Z. I can plot the
surface very nicely with mlab.mesh().

However, I also have a fourth 2d array, F. I would like the color of the
surface to be determined by the values of F.

How do I do that?

I looked at the atomic orbital example
(http://github.enthought.com/mayavi/mayavi/auto/example_atomic_orbital.html),
which seems to do what I want (surface color defined by complex phase of
Phi). However, this example seems to actually plot a 3d contour of a
volumetric scalar field. My field is already 2d, so it's probably even
simpler then the example, but I can't figure it out...


Thanks,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to