Hullo,

I wonder if someone could help me out?

I'm having trouble figuring out how to set a custom scale
on a colormap in Mayavi2. I'm reading in an unstructured
grid and plotting a scalar cut plane with warping, viz:

http://amcg.ese.ic.ac.uk/~tmb1/scalarvertscutwarp.png

The warping works nicely to pick out the scalar field
details, but the colormap is scaling to the entire scalar
dataset (which lower in the mesh has much greater range
than at the top of the mesh) hence showing minimal detail
at my cut.

What I'd like to do is to reset the colormap scale such 
that it is somewhere near the minimum and maximum of my cut
plane, not the minimum and maximum of the whole field.

Having worked through the source it looks like I can do
this by changing vmin and vmax, but I can't figure out what
they are traits of and thus I'm stumped as to how I would
do this working from the python command line in Mayavi2.

Any suggestions much appreciated!

Thanks,

Tim
-- 
Dr. Timothy M Bond, Operations Manager
Applied Modelling and Computation Group
http://amcg.ese.ic.ac.uk/index.php?title=Dr_Tim_Bond

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MayaVi-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to