Hello,

How would something like https://mail.enthought.com/pipermail/enthought-dev/2011-November/030194.html

integrate with http://github.enthought.com/mayavi/mayavi/auto/example_mlab_interactive_dialog.html ?

E.g. to have a slider control node size via node_size.

In

   
self.plot=self.scene.mlab.plot3d(x,y,z,t,tube_radius=0.025,colormap='Spectral')


plot3d returns a pipeline. I have a variant of plot_graph (from the first link) placed in its own imported module, and call it with something like m3Dg.plot_graph(). What should this return for the output to be assignable to self.plot, given that it plots a number of separate things (tubes, nodes, etc.)? Or does that not make sense - would m3Dg.plot_graph() output a scene rather than a plot?

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?

Sorry if my question is confused, it's a bit overwhelming.

thanks,

Andreas
------------------------------------------------------------------------------
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