# Displaying the corresponding value as the file changes during animation

**URL:** https://discourse.paraview.org/t/displaying-the-corresponding-value-as-the-file-changes-during-animation/4044
**Category:** ParaView Support
**Tags:** vtk, python
**Created:** [April 13, 2020, 10:55am UTC](https://discourse.paraview.org/t/displaying-the-corresponding-value-as-the-file-changes-during-animation/4044 "2020-04-13T10:55:23Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 17, 2020, 1:32pm UTC](https://discourse.paraview.org/t/displaying-the-corresponding-value-as-the-file-changes-during-animation/4044/7 "2020-04-17T13:32:32Z")

</div>

You are applying the solution determined in [Display of variable](https://discourse.paraview.org/t/display-of-variable/4021) to a different set of values. I wouldn’t expect that to work with an entirely different set of values.

Probably the simplest thing to do for this situation is to set the Expression in the **Python Annotation** filter to

```auto
[13.221, 9.938, 9.611, 9.308 ... 7.221][time_index]

```

Basically, you are explicitly defining the time values for each value in a Python list, then using ParaView’s current `time_index` to pick the value to display. This isn’t a general solution for every set of VTK files with variable defined for the entire dataset, but should be good enough to get you the result you need for your thesis project.

---

_[View the full topic](https://discourse.paraview.org/t/displaying-the-corresponding-value-as-the-file-changes-during-animation/4044)._
