[Paraview] Automatically scale color map

Moreland, Kenneth kmorel at sandia.gov
Tue Mar 22 17:25:55 EDT 2016


Alex,

I'd like to supplement Cory's answer (which is totally correct) with some caution. There is a reason why the functionality you are looking for is hidden in the Settings dialog. Making animations where the color map rescales every time step can be very misleading. Use this option with caution.

Rather than change the color map scaling every time step, it is better to set a static range that is valid for all time steps (if possible). Assuming your data is not huge (and it sounds like it is not), you can try hitting the "Rescale to data range over all timesteps" button. (It is in the color map editor to the right of the color bars with the "t" on it.) That will look at your data over all time and set the color scale to the min/max over all.

-Ken

From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Cory Quammen <cory.quammen at kitware.com<mailto:cory.quammen at kitware.com>>
Date: Tuesday, March 22, 2016 at 2:55 PM
To: Alex Lindsay <adlinds3 at ncsu.edu<mailto:adlinds3 at ncsu.edu>>
Cc: ParaView <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Automatically scale color map

Alex,

Rescaling on Visibility Changes only rescales when an object changes from visible to invisible or vice versa (hence visibility change).

To do what you want, see Edit -> Settings. In the Settings dialog, click the General tab and find the "Transfer Function Reset Mode". You can change this to "Grow and update every timestep" to expand the range as time moves on (range never shrinks) or "Clamp and update every timestep" to shrink the range every timestep.

HTH,
Cory

On Tue, Mar 22, 2016 at 3:51 PM, Alex Lindsay <adlinds3 at ncsu.edu<mailto:adlinds3 at ncsu.edu>> wrote:
Sorry for the barrage of questions guys. I've used Paraview a lot for 1D visualization, but now am wading into 2D... Based off Utkarsh's description here<https://blog.kitware.com/using-the-color-map-editor-in-paraview-the-basics/>, I would think that toggling "Rescale on Visibility Changes" (text a little different from previous versions of Paraview) would lead to automatic scaling of my color map when I change time steps. However, that doesn't appear to be the case. What am I missing?

[cid:part2.01000403.09020108 at ncsu.edu]

_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview




--
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160322/963e7681/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jfccdeac.png
Type: image/png
Size: 35981 bytes
Desc: jfccdeac.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20160322/963e7681/attachment.png>


More information about the ParaView mailing list