[Paraview] Setting the colour/scale palete used for glyphs
Kit Chambers
kit.chambers.kc at gmail.com
Tue Nov 20 03:53:48 EST 2012
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
More information about the ParaView
mailing list