[Paraview] Collecting slices in a contour plot

Berk Geveci berk.geveci at kitware.com
Sat May 2 20:35:26 EDT 2009


Wouldn't it be easier to treat z as t. So instead of multiple vtk
files, you could create one vtk file where the third axis represents
time. You could then use slice or extract subset filters to get the
plane that you want. You can do something similar for a file series
but you would have to write a custom filter in C++ (Python would not
do).

-berk

On Sun, Apr 26, 2009 at 4:37 AM, Daniele Avitabile
<d.avitabile at gmail.com> wrote:
> Hi all, I have a field u(x,y,t), stored in a set of .vtk files (one for each
> time steps). What I need to do is the following,
>
> 1) At each time steps, cut a slice, say through y=0, so as to have a set of
> curves
>     u(x,0,t1)
>     u(x,0,t2)
>     u(x,0,t3) ...
>
> 2) build a contour plot of the surface formed by stacking the above lines on
> top of each other
>
> Is there a filter for that or do I have to write a python script? If I have
> to use python, can you give me an idea of how to do that?
>
> Thanks
>
> Daniele
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>


More information about the ParaView mailing list