On Thu, Mar 22, 2012 at 08:12:00PM +0000, Andreas wrote:
>    One could perhaps call each of the things plotted by plot.graph()
>    separately. But then you would lose the nice packaging away of
>    plot_graph() in its own module; and also, what would each of the return
>    values be assigned to? I imagine self.plot can only be one thing?

Return two things from plot_graph: pts and tube_surf. Assign them to two
different attributes of your objects. One will be the pipeline
corresponding to the tubes, the other to nodes. You will be able to
control the properties of both in a similar way than the interactive
example.

HTH,

Gael

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to