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

2018-02-20 Thread Utkarsh Ayachit
Oops, I misunderstood. What you want, if I am not mistaken, is already
supported. Have you tried the "Plot Data" filter? It allows you to
plot cell data or point data directly. If you want a subset of points
from your original mesh, they try subsetting before applying the Plot
Data filter using something like clip or threshold.

Utkarsh

On Tue, Feb 20, 2018 at 6:33 PM, Santiago Serebrinsky
 wrote:
> What is the difference between this new **Plot Data Over Time** and existing
> **Plot  Over Time**?
>
> I wonder how this accommodates what I mean to achieve, which is more like
> Plot Data Over Path (or Node Set).
>
> PS: My objective resembles the procedure in Abaqus whereby one defines a
> Path based on an arbitrary sequence of points (which can be nodes, e.g.) and
> then plots a given quantity along that path.
>
>
> On Tue, Feb 20, 2018 at 5:51 PM, Utkarsh Ayachit
>  wrote:
>>
>> 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
>>  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
>> >
>
>
___
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


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

2018-02-20 Thread Santiago Serebrinsky
What is the difference between this new **Plot Data Over Time** and
existing **Plot  Over Time**?

I wonder how this accommodates what I mean to achieve, which is more like
Plot Data Over Path (or Node Set).

PS: My objective resembles the procedure in Abaqus whereby one defines a
Path based on an arbitrary sequence of points (which can be nodes, e.g.)
and then plots a given quantity along that path.


On Tue, Feb 20, 2018 at 5:51 PM, Utkarsh Ayachit <
utkarsh.ayac...@kitware.com> wrote:

> 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
>  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
> >
>
___
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


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

2018-02-20 Thread Utkarsh Ayachit
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
 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
>
___
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


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

2018-02-19 Thread Santiago Serebrinsky
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