# Annotate time varying parameters in animation

**URL:** https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345
**Category:** ParaView Support
**Created:** [September 15, 2020, 8:58am UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345 "2020-09-15T08:58:35Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![LauraAG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/ecccb3/32.png) [@LauraAG](https://discourse.paraview.org/u/LauraAG)
#### Post date: [September 15, 2020, 8:58am UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/1 "2020-09-15T08:58:35Z")

</div>

Hello all!

I have been struggling during the past week with the following issue and I wonder if someone could help me.

My issue is that I have, as a result of a micromagnetic simulation, an animation of several vtk files and I would like to plot/annotate in the animation how the magnetic field (Bx) evolves for each time step.  
To do that I have opened a txt table whose columns are the values for each time step.  
I have tryed different filters but I did not managed to have the time varying parameter, just a fixed value.

What I think is more suitable is using Bx[t\_index] in PythonAnnotation but it gives me the error that t\_index is not defined I guess because the “time” variable in implicit in the vtk files and not in the table.

Thanks in advance for your help!

Best,

Laura

---

<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: [September 15, 2020, 12:13pm UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/2 "2020-09-15T12:13:16Z")

</div>

This looks correct to me. Could you share some files to reproduce the issue.

---

<div class="post-metadata">

### Author: ![LauraAG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/ecccb3/32.png) [@LauraAG](https://discourse.paraview.org/u/LauraAG)
#### Post date: [September 16, 2020, 9:08am UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/3 "2020-09-16T09:08:22Z")

</div>

Hi Mathieu,

Thanks a lot for your help.

Since the vtk files are to heavy I cannot load them so if it is fine for you you can find some of them and the table in this link: [https://drive.google.com/file/d/1kUdORHkAYm4i8P0-6zxy7GtVuNnklAUi/view?usp=sharing](https://drive.google.com/file/d/1kUdORHkAYm4i8P0-6zxy7GtVuNnklAUi/view?usp=sharing)

The parameter I need to annotate is Bx.

Thank you again.

---

<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: [September 17, 2020, 12:15pm UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/4 "2020-09-17T12:15:07Z")

</div>

I do not have access to the data.

---

<div class="post-metadata">

### Author: ![LauraAG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/ecccb3/32.png) [@LauraAG](https://discourse.paraview.org/u/LauraAG)
#### Post date: [September 17, 2020, 12:26pm UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/5 "2020-09-17T12:26:06Z")

</div>

Sorry, I’ve just shared it with 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: [September 17, 2020, 12:44pm UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/6 "2020-09-17T12:44:07Z")

</div>

I’m afraid this is not supported to read your time steps and other temporal from an external .txt file. You need to associate the temporal data with each temporal vts file manually.

---

<div class="post-metadata">

### Author: ![LauraAG](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/l/ecccb3/32.png) [@LauraAG](https://discourse.paraview.org/u/LauraAG)
#### Post date: [September 17, 2020, 12:57pm UTC](https://discourse.paraview.org/t/annotate-time-varying-parameters-in-animation/5345/7 "2020-09-17T12:57:56Z")

</div>

Ok ! no problem.

Thank you evry much for your help.
