[Paraview] Plot Cell ID over time

Marco Kokic kokicm at student.ethz.ch
Fri Sep 18 12:04:41 EDT 2015


GREAT ! :-D  Thank you !

On 18.09.2015 17:58, Moreland, Kenneth wrote:
> Macro,
>
> That does seem like a better way to go about it. I think you can shorten
> your steps by about half. Try these steps. The first 3 are the exact same
> as you describe.
>
> 1. Edit -> Find Data.
>
> 2. Find Cells where ID is >= 0 (and any other selection criteria). "Run
> Selection Query"
>
> 3. "Plot Selection Over Time." "Apply"
>
> 4. In the resulting plot view, edit the Series Parameters to turn off all
> variables except "N".
>
>
> -Ken
>
>
>
> On 9/18/15, 9:37 AM, "Marco Kokic" <kokicm at student.ethz.ch> wrote:
>
>> Hello,
>>
>> thanks for your answer. Unfortunately, there is no cell variable. So I
>> can't point "Select Input Array" to anything useful. I found another
>> difficult way though to achieve my goal: First I select the Last Frame,
>> then Edit -> Find Data, there I choose "Find Cell(s) from Extract
>> Block", "ID is >=0", "Block ID is 1", "Run Selection Query" and then
>> "Plot Selection Over Time". If I then open the Spreadsheet View, I find
>> a dataset containing (among other columns) the number of cells N and the
>> Time. If I the toggle all unnecessary columns, select all entries in my
>> two columns and then Filters -> Data Analysis -> Plot Data, I finally am
>> close to what I wanted to visualize. If anyone knows a less laborious
>> way, please let me know. Thanks in advance.
>>
>> Best regards,
>> Marco
>>
>> On 18.09.2015 16:51, Moreland, Kenneth wrote:
>>> Macro,
>>>
>>> I'm not entirely sure what you are expecting to happen when you select a
>>> column and as ParaView to plot it over time. ParaView will take
>>> statistics
>>> over the id values and give you a quartile plot on that. I don't think
>>> that is what you want. From the earlier part of your email, it sounds
>>> like
>>> you really want to plot the number of cells over time. To do that, you
>>> first need to compute the cell count into some sort of data structure.
>>> Unfortunately there is no direct way to do this, but I found an old
>>> email
>>> thread
>>> (http://www.paraview.org/pipermail/paraview/2008-November/010080.html)
>>> that describes how to leverage the histogram filter to do it. Here are
>>> some updated instructions for ParaView 4.4.
>>>
>>> 1. Run your data through the Histogram filter. Set "Bin Count" to 1.
>>> Make
>>> "Select Input Array" point to a cell variable. Apply. The result should
>>> be
>>> a histogram with exactly one bin.
>>>
>>> 2. View the data in the Spreadsheet view. Close all the views and then
>>> select "Spreadsheet View" in the resulting empty view. Make sure the
>>> Histogram filter is visible in the spreadsheet view. There should be a
>>> single row. Select that row so that it is highlighted. (Note, this is
>>> only
>>> necessary because issue 14978 is not implemented yet.
>>> http://www.paraview.org/Bug/view.php?id=14978)
>>>
>>> 3. Add the Plot Selection Over Time filter. Apply.
>>>
>>> -Ken
>>>
>>>
>>>
>>> On 9/18/15, 7:58 AM, "ParaView on behalf of Marco Kokic"
>>> <paraview-bounces at paraview.org on behalf of kokicm at student.ethz.ch>
>>> wrote:
>>>
>>>> Dear paraviewers,
>>>>
>>>> I am analyzing 2D tissue data and I would like to count the number of
>>>> cells over time. After I extract a polygonal mesh from my multiblock
>>>> dataset I want to visualize the polygonal mesh statistics which show
>>>> the
>>>> number of cells at every time point. Unfortunately, I cannot find a way
>>>> to plot the selected Cell ID column over time (see screenshot here:
>>>> http://imgur.com/LICqYdV ). Any suggestions on how to get around this?
>>>>
>>>> Thanks in advance !
>>>>
>>>> With best regards,
>>>> Marco
>>>> _______________________________________________
>>>> 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



More information about the ParaView mailing list