[Paraview] Can I tie Z Axis Grid labels to the unscaled range of the Scalar Value used in the Warp By Scalar filter?

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jan 30 09:29:58 EST 2018


Another option is to use the "Data Transform" properties on the Axes
Grid. In the "Edit" Axes Grid dialog, if you press the gear icon to
show advanced properties, you'll see the "Data Transform" properties.
For example, if I scale my dataset by (1, 1, 10), I can set the "Data
Scale" to (1, 1, 10) and I'll get labels matching the original
unscaled range.

Hope that helps.

Utkarsh

On Mon, Jan 29, 2018 at 9:43 PM, Cory Quammen <cory.quammen at kitware.com> wrote:
> On Mon, Jan 29, 2018 at 6:35 PM, Wyatt Spear <wspear at cs.uoregon.edu> wrote:
>> I am trying to add a 3d-component to my heat maps and it looks like the Warp
>> By Scalar filter is the most straightforward way to map a scalar value to
>> the Z axis. My trouble is, the labels on the Z axis grid are not displaying
>> the actual range of values provided by the scalar when I change the warp
>> scale factor. A scale factor of 1 gives the expected axis labels, of course,
>> but puts my Z axis out of visual range. Is there a reasonable way to tie the
>> Z axis labels to the range provided by the raw scalar data, so changing the
>> scale factor of the warp doesn't effect Z Axis labels and their values
>> remain representative of my data?
>
> The axes are tied to the physical extent of the data, as you have
> observed, not the scalar range of the array mapped to Z. You can edit
> the Data Axes Grid "Z Axis Label Properties" and enable "Z Axis Use
> Custom Labels" to manually set the label values to those of your data
> array. It is not automatically tied to the scalar array range, though,
> but the Z labels will be independent of changes to the warp scale
> factor.
>
> HTH,
> Cory
>
>>
>> Thanks,
>> Wyatt Spear
>>
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> https://paraview.org/mailman/listinfo/paraview
>>
>
>
>
> --
> Cory Quammen
> Staff R&D Engineer
> Kitware, Inc.
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> https://paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list