[Paraview] Coloring isocontour by the coordinates outputted from a Transform filter and some other questions

Cory Quammen cory.quammen at kitware.com
Wed Jun 7 15:29:00 EDT 2017


Shuhao,

Welcome to ParaView!

On Sun, Jun 4, 2017 at 6:33 PM, Shuhao Wu <shuhao at shuhaowu.com> wrote:
> Hello all,
>
> Is there a way to color an isocontour via the coordinates outputted from a
> Transform filter? I'm using the Transform filter to "normalize" my
> coordinate systems and I want to display the isocontour colored by the
> normalized Y coordinates. Do I have to create yet another Calculator filter
> to recalculate the normalized Y value that is already calculated by the
> Transform filter?

There is currently no direct way to color surfaces by coordinate
value. You can, however, add a Calculator after the Transform filter
and simply set the expression to coordsY - no recomputation of the
normalization is needed. This will copy your normalized Y coordinate
values to a new array named "Result", and you can then color the
isosurface by "Result". "Result" is just the default name - you can
change it however you wish.

> Also: is there a way to turn off one axis on the axis grid (so turn off the
> Y axis display and leave only X and Z)?

Click the Edit button next to the Axes Grid option. Click the gear
icon in the top right of the dialog that appears. Under Face
Properties, click on the "Faces to Render" combo box. Turn off the
sides you do not wish to see by selecting them in the combo box.

> What about changing the interval on
> the axis itself (instead of incrementing by 100 as it chooses, increment by
> 250).

In the same dialog described above, check the "X Axis Use Custom
Labels", and you can specify exactly the labels you want. There is no
property to directly change the increment.

Best,
Cory

> I'm pretty new to Paraview (coming from Tecplot). Please bear with me as I
> likely will have more question.
>
> Thanks,
> Shuhao
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/paraview



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list