On Fri, Feb 04, 2011 at 04:51:02PM +0100, LI Hongying wrote:
>    I'm a PhD student on cardiac DTI tractography.

Nice. Out of curiosity, where I you working? (I am also in brain
imaging).

>    I just plot all the lines in one loop, and finally show them in one scene,
>    like this:
>    for numberOfPath in range(totalNumber):
>        handle = mlab.plot3d(pathArray[0], pathArray[1], pathArray[2],
>    pathColor[0] )

>    So my questions:
>    What's the right way to show so many coloured lines ?  Your suggestions ?

You should be able to do much better. Have a look at the following
example:

http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/auto/example_plotting_many_lines.html

Hope ths helps,

Gael

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to