Thanks David, ideally I'd like to have something in the plugin so that
when the user applies the filter and the default display is the 2 color
option for this object. Rather than them having to go through a series
of clicks on the GUI inorder to get to the discrete color pallete.
The field values are just +1 and -1, and I would like them to be plotted
as either black or white accordingly by default.
Kit
On 20/11/2012 05:09, David Thompson wrote:
Hi Kit,
... I would like to ensure that field is coloured (by default) using a specific
colour palette. More specifically I want to it to use 2 discrete colours,
rather than the rainbow scale. Is this possible?
You can set the number of colors in the lookup table by
+ clicking on the color scale editor button in the toolbar,
+ ensuring that the "Use Discrete Colors" checkbox is ON, and
+ changing the "Resolution" slider to 2.
As long as the field values are uniformly spaced, you can handle more than 2 colors by
changing the resolution appropriately (but note that you may wish to use the
"Rescale Range" button to keep color band edges from falling on special values).
David
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview