Re: [Paraview] independent colorbar range in different views of same session?
Probably the simplest thing to do is to use the Calculator filter to copy the data to a different array. You could use the Python Calculator to rename the array (uncheck the Copy Arrays checkbox -- this will get rid of all other arrays though). Andy On Fri, Jul 1, 2011 at 2:29 PM, Guzas, Emily L CIV NUWC NWPT emily.gu...@navy.mil wrote: David and Eric, Thanks for the advice. Your responses have definitely helped me get closer to actually defining the problem more precisely. Here's some more background: Although I am working with two different attributes from the same analysis (pressure and fluidID), the exodusii converter that I'm using (written by someone else) only operates on one attribute at a time and defaults to calling this attribute resX in the *.exo file. So I run the converter twice on my data, once to get the pressure.exo file and once to get the fluidID.exo file, but yet both files have a common name, resX, for the data attribute that I'm interested in. In ParaView, I am coloring both views by resX, even though in view 1, resX represents pressure and in view 2, resX represents fluidID. See attached screenshot. So without having to get the exodusii converter fixed, is there a way to change the data name in ParaView from resX to something else, say pressure, so that I can color my two views by a different variable, which should probably fix my problem with the independent colorbar scales? Thanks! -Emily --- Emily L. Guzas, Ph.D. Naval Undersea Warfare Center, Division Newport Analysis and Technology Branch, Code 4121 Phone: 401.832.5577 Email: emily.gu...@navy.mil This signature line and my digital signature is the equivalent of a hard copy signature, serving to authenticate that I have the authority to send this e-mail and to indicate I have consciously decided that it should have the same legal authority normally accorded to an actual hard copy signature. -- *From:* Eric E. Monson *Sent:* Fri 7/1/2011 1:56 PM *To:* Guzas, Emily L CIV NUWC NWPT *Cc:* David E DeMarle; Paraview Mailing list (to use with ec-nantes) *Subject:* Re: [Paraview] independent colorbar range in different views of same session? Hey, David, Emily seems to be describing that she already has two different attributes, so I'm suspecting that somehow she's mistakenly coloring by the same attribute in both views... Emily, as David is saying, (at least my understanding of) what you're wanting should be the default behavior. Make sure that when you click on each view the color by combo box changes which attribute it's listing, and that each colormap has Automatically Rescale to Fit Data Range checked in the colormap editor. Attached is a screen shot that I made right out of the box with all default settings, just having the surface colored by different attributes in different windows, and choosing an alternative to the blue-white-red colormap for Elevation. If you're still having trouble, maybe let us know which version of ParaView you're using, and on which platform, and whether you built it yourself. -Eric ___ 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 ___ 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
Re: [Paraview] independent colorbar range in different views of same session?
Hello Emily, ParaView tries to use the same color transfer function for each variable in all views to ensure that one perceives the same value wherever they see a particular color. I expect this is what is happening here. What you might do then to get around this behavior is to create a copy of your array and color by that array in one view or the other. The simplest way I can thing to do that is to use the calculator filter. First choose either point or cell alignment to find the array you want, then set the calculator expression to be simply the name of the array you are making a copy of. Optionally set the output name if you don't want the copy to be called RESULT. Lastly choose the new array as the one to color by in one of the two views. hth, David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Jul 1, 2011 at 10:32 AM, Guzas, Emily L CIV NUWC NWPT emily.gu...@navy.mil wrote: Hello, I am a ParaView newbie trying to visualize two different types of time-varying data (let's say density and pressure) for the same analysis in two separate views of the same session of ParaView. I have set up the two views, where view 1 has the pressure data turned on and view 2 has the density data turned on. I made a colorbar for each view, and have changed the colorbar title to pressure for view 1 and density for view 2. (To make these colorbars, I first clicked on the pressure data in the pipeline browser, then clicked on view 1, then created the colorbar for pressure; then I clicked on the density data in the pipeline browser, then clicked on view 2, then created the colorbar for density). However, when I try to change the scale of each colorbar so that it only spans its data, then the colorbar for the other data is automatically changed. Does anyone know how to set the colorbar ranges independently for each view (say 1e5-2e7 Pa for pressure, in view 1, and 1-1000 g/cc for density, in view 2)? Thanks, Emily ___ 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 ___ 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
Re: [Paraview] independent colorbar range in different views of same session?
Hah Eric so there! :) The calculator filter will do what you want. There are probably better ways but the calculator will only take a minute to try. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Jul 1, 2011 at 2:29 PM, Guzas, Emily L CIV NUWC NWPT emily.gu...@navy.mil wrote: David and Eric, Thanks for the advice. Your responses have definitely helped me get closer to actually defining the problem more precisely. Here's some more background: Although I am working with two different attributes from the same analysis (pressure and fluidID), the exodusii converter that I'm using (written by someone else) only operates on one attribute at a time and defaults to calling this attribute resX in the *.exo file. So I run the converter twice on my data, once to get the pressure.exo file and once to get the fluidID.exo file, but yet both files have a common name, resX, for the data attribute that I'm interested in. In ParaView, I am coloring both views by resX, even though in view 1, resX represents pressure and in view 2, resX represents fluidID. See attached screenshot. So without having to get the exodusii converter fixed, is there a way to change the data name in ParaView from resX to something else, say pressure, so that I can color my two views by a different variable, which should probably fix my problem with the independent colorbar scales? Thanks! -Emily --- Emily L. Guzas, Ph.D. Naval Undersea Warfare Center, Division Newport Analysis and Technology Branch, Code 4121 Phone: 401.832.5577 Email: emily.gu...@navy.mil This signature line and my digital signature is the equivalent of a hard copy signature, serving to authenticate that I have the authority to send this e-mail and to indicate I have consciously decided that it should have the same legal authority normally accorded to an actual hard copy signature. From: Eric E. Monson Sent: Fri 7/1/2011 1:56 PM To: Guzas, Emily L CIV NUWC NWPT Cc: David E DeMarle; Paraview Mailing list (to use with ec-nantes) Subject: Re: [Paraview] independent colorbar range in different views of same session? Hey, David, Emily seems to be describing that she already has two different attributes, so I'm suspecting that somehow she's mistakenly coloring by the same attribute in both views... Emily, as David is saying, (at least my understanding of) what you're wanting should be the default behavior. Make sure that when you click on each view the color by combo box changes which attribute it's listing, and that each colormap has Automatically Rescale to Fit Data Range checked in the colormap editor. Attached is a screen shot that I made right out of the box with all default settings, just having the surface colored by different attributes in different windows, and choosing an alternative to the blue-white-red colormap for Elevation. If you're still having trouble, maybe let us know which version of ParaView you're using, and on which platform, and whether you built it yourself. -Eric ___ 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
Re: [Paraview] independent colorbar range in different views of same session?
Thanks guys! The calculator filter does work. Kudos to both Eric and David for making me understand the actual problem I was having, and then for giving me a solution. Cheers, Emily From: David E DeMarle Sent: Fri 7/1/2011 2:35 PM To: Guzas, Emily L CIV NUWC NWPT Cc: Eric E. Monson; Paraview Mailing list (to use with ec-nantes) Subject: Re: [Paraview] independent colorbar range in different views of same session? Hah Eric so there! :) The calculator filter will do what you want. There are probably better ways but the calculator will only take a minute to try. David E DeMarle Kitware, Inc. RD Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Fri, Jul 1, 2011 at 2:29 PM, Guzas, Emily L CIV NUWC NWPT emily.gu...@navy.mil wrote: David and Eric, Thanks for the advice. Your responses have definitely helped me get closer to actually defining the problem more precisely. Here's some more background: Although I am working with two different attributes from the same analysis (pressure and fluidID), the exodusii converter that I'm using (written by someone else) only operates on one attribute at a time and defaults to calling this attribute resX in the *.exo file. So I run the converter twice on my data, once to get the pressure.exo file and once to get the fluidID.exo file, but yet both files have a common name, resX, for the data attribute that I'm interested in. In ParaView, I am coloring both views by resX, even though in view 1, resX represents pressure and in view 2, resX represents fluidID. See attached screenshot. So without having to get the exodusii converter fixed, is there a way to change the data name in ParaView from resX to something else, say pressure, so that I can color my two views by a different variable, which should probably fix my problem with the independent colorbar scales? Thanks! -Emily --- Emily L. Guzas, Ph.D. Naval Undersea Warfare Center, Division Newport Analysis and Technology Branch, Code 4121 Phone: 401.832.5577 Email: emily.gu...@navy.mil This signature line and my digital signature is the equivalent of a hard copy signature, serving to authenticate that I have the authority to send this e-mail and to indicate I have consciously decided that it should have the same legal authority normally accorded to an actual hard copy signature. From: Eric E. Monson Sent: Fri 7/1/2011 1:56 PM To: Guzas, Emily L CIV NUWC NWPT Cc: David E DeMarle; Paraview Mailing list (to use with ec-nantes) Subject: Re: [Paraview] independent colorbar range in different views of same session? Hey, David, Emily seems to be describing that she already has two different attributes, so I'm suspecting that somehow she's mistakenly coloring by the same attribute in both views... Emily, as David is saying, (at least my understanding of) what you're wanting should be the default behavior. Make sure that when you click on each view the color by combo box changes which attribute it's listing, and that each colormap has Automatically Rescale to Fit Data Range checked in the colormap editor. Attached is a screen shot that I made right out of the box with all default settings, just having the surface colored by different attributes in different windows, and choosing an alternative to the blue-white-red colormap for Elevation. If you're still having trouble, maybe let us know which version of ParaView you're using, and on which platform, and whether you built it yourself. -Eric smime.p7s Description: S/MIME cryptographic signature ___ 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