Hi,
I have generated a Catalyst python script that produces a colormap on a slice
of a 3D rectilinear grid. I would like to use the same script for another
variable of the simulation, but the range of data is not the same. How can I
adapt the script, both in case where I know the new data range
Mattheiu,
For rescaling when your data range is known, use:
a1_dbz_PiecewiseFunction.RescaleTransferFunction(min, max)
a1_dbz_PVLookupTable.RescaleTransferFunction(min, max)
When it is unknown, you can use
pipelineObject = GetActiveSource()
display = GetDisplayProperties(pipelineObject)
display
Thanks Cory!
Matthieu
From: Cory Quammen [cory.quam...@kitware.com]
Sent: Friday, October 30, 2015 2:19 PM
To: Dorier, Matthieu
Cc: Paraview (paraview@paraview.org)
Subject: Re: [Paraview] Changing colormap parameters in a Catalyst script
Mattheiu,
For rescaling