[Paraview] Display number of cells over time
Moreland, Kenneth
kmorel at sandia.gov
Sat Nov 15 20:31:31 EST 2008
Matthias,
There is no direct way to do this. This is the first time I have heard a
request like this. However, I have thought of a way to do what you want
without writing any code. It's a real hack and a bit painful, but it works.
First, run you data through the histogram filter. Make the bin count be 1.
The variable you select does not matter except to get a count of either
points (for point variables) or cells (for cell variables). The result
should be a histogram with exactly one bin. The bin count will be equal to
either the number of points or the number of cells.
Now, open a spreadsheet view. Change the attribute combo box to be "Cell
Data". There should be one row. Select that row, then choose the "Plot
Selection Over Time" filter. Click the "Copy Active Selection" button and
Apply. You should get the plot that you are looking for.
-Ken
On 11/14/08 6:38 AM, "Matthias Moeller"
<matthias.moeller at math.uni-dortmund.de> wrote:
> Hi all,
>
> I've got a time series of unstructured grid files. Besides the
> visualization of a scalar variable I would like to display some
> statistical data. In particular, I would like to display the number of
> elements over time (animation).
>
> My problem is as follows: I failed to display the number of cells as
> data array. Surely, I "see" the number of cells (and nodes) in the
> Statistics View and the Information tab of the Object Inspector. As an
> intermediate solution I would like to display the number of elements as
> text field (cf. Annotate Time). Ideally, the numbers of elements for
> all(!) time steps are displayed as xy-plot (number of elements vs. time)
> which develops in time. That is, the first unstructured grid file leads
> to a single value #nel0 at time 0. The K-th unstructured grid file
> yields K values #nel0..#nelK at times 0..K
>
> I tried paraview 3.4.0 official release and 3.5.0 top-of cvs build.
>
> Thanks in advance.
>
> Best regards
> Matthias
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
**** Kenneth Moreland
*** Sandia National Laboratories
***********
*** *** *** email: kmorel at sandia.gov
** *** ** phone: (505) 844-8919
*** web: http://www.cs.unm.edu/~kmorel
More information about the ParaView
mailing list