Hi guys,

How do I fix the range in values for the scalar color bar?  In gnuplot, I am 
used to setting the cbrange.  What code should I write in Python for it for 
Mayavi?

This is how I get my plot

d = mlab.pipeline.open("star.vtk")
ipw_z=mlab.pipeline.image_plane_widget(d,colormap='jet',
                                           plane_orientation='z_axes',
                                           slice_index=31,
                                           )

ipw_z.module_manager.scalar_lut_manager.show_scalar_bar = True

Thanks,
Roseanne

PS. I eventually managed to write a really really kindergarten version of 
volumeslicer
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to