[Paraview] Paraview programmatically plot quantities over line, using only data on nodes

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Feb 20 15:51:30 EST 2018


I'd suggest trying the nightly binaries (or wait for 5.5 release
candidates which should come out in the next week or so). A new **Plot
Data Over Time** filer will let you do this without have to worry
about selecting cells/points etc.

Utkarsh

On Tue, Feb 20, 2018 at 2:28 AM, Santiago Serebrinsky
<sserebrinsky at gmail.com> wrote:
> Hello,
>
> I have a dataset on a 2D domain. I mean to get an XY plot of data along a
> line which contains a number of element edges. I would typically do this
> with PlotOverLine.
>
> Now I want to obtain a similar plot, but with my data points located only at
> the actual locations of nodes in my mesh. In this way, my XY plot (and its
> underlying data) would be directly representative of the mesh resolution in
> my original data.
>
> How can this be done programmatically, 1) from the UI as a macro, 2) from
> the UI at the python shell, 3) at the CLI (pvpython myscript.py)?
>
> I couldn't even find how to do this via GUI. I started by Select Points On,
> but I couldn't go any further. Moreover, if this is the right way to start,
> I wouldn't be able to transfer it to python code, since Start Trace does not
> include Select Points On in the output trace, so I wouldn't know how to add
> it to code.
>
> Thanks!
>
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/paraview
>


More information about the ParaView mailing list