Thanks.  My best idea was to create three filters – clip by scalar for data 
below the acceptable minimum (solid color), another for above the accepted 
maximum (solid color), and third within range (discrete colors).  Hacky, and 
the outside range colors won’t show on the color legend, but it should work.

Alan

From: Utkarsh Ayachit [mailto:[email protected]]
Sent: Wednesday, June 11, 2014 6:58 PM
To: Scott, W Alan
Cc: [email protected]
Subject: [EXTERNAL] Re: [Paraview] FW: Paraview Legend/Colorbar Question

Out-of-range colors are not supported yet. For non-discrete colors, you can 
hack it by adding extra control points above and below the region of interest, 
but that's only a hack and not available for categorical/discrete colors.

Utkarsh

On Wed, Jun 11, 2014 at 7:52 PM, Scott, W Alan 
<[email protected]<mailto:[email protected]>> wrote:
A question from one of my users.  Anyone have any ideas?  I know how to solve 
the 5 discrete color question, but the out of range one stumps me.  (This bug 
was written up as bug 6657).

Thanks,

Alan



I remember we had some discussion a while back about creating legends and 
wanted to follow-up with you. Is there a way for me to reproduce a legend like 
the one I’m attaching here?
[cid:[email protected]]

Ideally, I’d like to use the default color scheme (with 5 discrete colors) but 
then also add magenta and cyan to highlight data that is outside of a certain 
range. Let’s say I have information to color in the default scheme from 1 to 
10, but I want everything below 1 to be cyan and above 10 to be magenta. Can I 
explicitly tell Paraview to do that? If so, how might that be done in the most 
recent version?



_______________________________________________
Powered by www.kitware.com<http://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

_______________________________________________
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

Reply via email to