[Paraview] Un-Rescale Data To Range

David Doria daviddoria at gmail.com
Wed Apr 22 10:05:29 EDT 2009


I made a color map like this (-1 is black, 0 is green, 1 is red)

<ColorMap name="Consistency" space="RGB">

<Point x="-1.000" o="1" r="0.0" g="0.0" b="0.0"/>
<Point x="0.000" o="1" r="0.0" g="1.0" b="0.0"/>
<Point x="1.000" o="1" r="1.0" g="0.0" b="0.0"/>

</ColorMap>

When I apply the colormap, it automatically rescales the map to fit the
range of the data. Would it make more sense to leave the colormap alone
until the user clicks "Rescale to Data Range"? Then also, when I go into
"Edit color map" and uncheck "Automatically Rescale to Fit Data Range", it
would be nice if it snapped back to the original color map values, without
having to then click "Rescale range" and enter the values manually. Here is
not a huge problem, but if the color map was automatically generated by my
code, I may not know even know the range that it was supposed to be, so I
could not enter the values manually.

Thoughts?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090422/3e1908d3/attachment.htm>


More information about the ParaView mailing list