>>>>> "JC" == jcisternas <[EMAIL PROTECTED]> writes:
JC> Hi,<br>In the MayaVi guide (chapter 4, section
JC> 4.1) there is<br>a nice example that I'd like to extend. My
JC> idea is to use<br>two datasets (two matrices of the same
JC> shape),<br>one for the z-coordinate and the other one for the
JC> color.<br>So far I've been able to save a vtk file with two
JC> scalar data,<br>but I don't know how to tell the module
JC> SurfaceMap which<br>scalar data should it use.
Hmm, if you are trying to use two scalar datasets together then mayavi
does now allow this. :( There is only one active scalar attribute at a
given point of time. One way to get around this for small datasets is
to re-open the data file. Yes, it is wasteful but this is not
currently supported in mayavi1. I will try and think of a way to
support this sort of thing with mayavi2.
cheers,
prabhu
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users