# Animating different table of points

**URL:** https://discourse.paraview.org/t/animating-different-table-of-points/3026
**Category:** ParaView Support
**Tags:** vtk, python
**Created:** [November 22, 2019, 3:53pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026 "2019-11-22T15:53:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Samanvith\_A](https://discourse.paraview.org/user_avatar/discourse.paraview.org/samanvith_a/32/2378_2.png) [@Samanvith\_A](https://discourse.paraview.org/u/Samanvith_A)
#### Post date: [November 22, 2019, 3:53pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026/1 "2019-11-22T15:53:52Z")

</div>

HI,

I have seven files of coordinate data. The naming of the files is as follows: number1, number2 … number7).  
ParaView has automatically picked the files. I have applied the TableToPoints filter to convert it into a gridded data.  
So I want to animate this data by giving different colors to each file containing coordinate data.  
Say number1 data points are represented using black color, number2 data points using white so on. But I am not able to do it. So can I get some suggestions on it.

I have attached the file for reference. [https://drive.google.com/drive/folders/1Ijh-3RxLx-tlkq-X6ZyFj6ZnFwPtWOVd?usp=sharing](https://drive.google.com/drive/folders/1Ijh-3RxLx-tlkq-X6ZyFj6ZnFwPtWOVd?usp=sharing)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 22, 2019, 6:01pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026/2 "2019-11-22T18:01:10Z")

</div>

Does number1 data is for the first time step, number2 data is for the second time step and so on with your animation ?

Your files are not public and can’t be downloaded.

---

<div class="post-metadata">

### Author: ![Samanvith\_A](https://discourse.paraview.org/user_avatar/discourse.paraview.org/samanvith_a/32/2378_2.png) [@Samanvith\_A](https://discourse.paraview.org/u/Samanvith_A)
#### Post date: [November 22, 2019, 9:40pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026/3 "2019-11-22T21:40:21Z")

</div>

Hi @mwestphal

Yes, you’re right. So for my first time step number1 data should be displayed then number2 data and so on. So I want to represent it with different color schemes but in the same animation.

I have given you the access to the file. I hope you can download it.

---

<div class="post-metadata">

### Author: ![Samanvith\_A](https://discourse.paraview.org/user_avatar/discourse.paraview.org/samanvith_a/32/2378_2.png) [@Samanvith\_A](https://discourse.paraview.org/u/Samanvith_A)
#### Post date: [November 23, 2019, 10:09pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026/4 "2019-11-23T22:09:06Z")

</div>

Hi, @mwestphal

It would be really helpful if you give me some suggestions on my query.

Thank you.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 25, 2019, 12:24pm UTC](https://discourse.paraview.org/t/animating-different-table-of-points/3026/5 "2019-11-25T12:24:36Z")

</div>

I tried your dataset. Each timestep does not contains the same number of points, is that expected ?

In any case, there is no easy way to do what you are looking for. The simplest way would be to store the time step value in a dedicated FieldData array using a Programmable Filter.

See Programmable Filter examples here :  
[https://www.paraview.org/Wiki/Python\_Programmable\_Filter](https://www.paraview.org/Wiki/Python_Programmable_Filter)

Let me know if you need further help.
