[Paraview] multiple color legends on the same image

Scott, W Alan wascott at sandia.gov
Mon May 11 21:54:07 EDT 2009


Dae Il,
There are tutorials links found on the ParaView Wiki.  The wiki is found here: http://www.paraview.org/Wiki/ParaView, then see SNL ParaView 3 Tutorials.  All of the datasets are found in the ParaView data, found on the ParaView download page.

There is a brief description of how to use the calculator under Beginning Filters.

Alan

________________________________
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Dae Il Kim
Sent: Monday, May 11, 2009 7:39 PM
To: Moreland, Kenneth
Cc: paraview at paraview.org
Subject: Re: [Paraview] multiple color legends on the same image

Thanks for the info, but I hope folks don't mind if I ask a few more questions to clarify this procedure. I've never used calculator before and it seems hard to find any tutorials on this particular topic. However, I'd like to just clarify exactly what I'm trying to do so that I'm not asking the wrong question.

I'm applying paraview to overlay a functional brain activation over a template I've specified. The brain map has both positive and negative values and when I apply a contour filter to this object, I can specify a range to show only some of the positive values, compute its gradients and devise an appropriate legend. When I create a new contour filter to show the negative ranges with the hope of showing another color legend that reflects negative activation, this is where I run into the problem of my first color legend immediately changing to whatever I now specify. Having said all that, how does one duplicate datasets in calculator with the ability to specify only part of the range of values so that only the negative activations are shown?

Again thanks for the help and if there is a good tutorial one could recommend to me so I could get some better grounding with this program, I would be most grateful. Thanks!

-Dae Il

On Mon, May 11, 2009 at 7:52 AM, Moreland, Kenneth <kmorel at sandia.gov<mailto:kmorel at sandia.gov>> wrote:
Some background information: ParaView makes the coloring for all variables of the same name consistent.  This is done to prevent misleading coloring when showing data from different parts in the pipeline or different data sets or different views.  If you want to break out of that behavior, you have to rename the field on one of the data sets.  John's suggestion is the easiest way to change the field name.

-Ken



On 5/11/09 12:25 AM, "John Biddiscombe" <biddisco at cscs.ch<http://biddisco@cscs.ch>> wrote:

It's awful, but it works.

Use the calculator filter to copy one dataset to another. Change the name of the scalar array you are displaying. when you enable the colour legen for the new data, it will have a new name and so use a new colour lookup table. You can now display both independently.

JB
Hi all,

I'm a bit of a newbie here, but I've been having some trouble trying to figure out a way of creating multiple color gradients and legends on the same image. In other words, I have an object that I use a contour filter for that should have a different gradient than another object with a different contour filter, but the moment I change the color gradient for one, the other automatically changes. Is there a way to create two contour filters with different color maps and legends?

Thanks,
Dae Il

________________________________

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




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov<http://kmorel@sandia.gov>
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel<http://www.cs.unm.edu/%7Ekmorel>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090511/1fa2fbd0/attachment-0001.htm>


More information about the ParaView mailing list