# Insert custom caption

**URL:** https://discourse.paraview.org/t/insert-custom-caption/4008
**Category:** ParaView Support
**Created:** [April 8, 2020, 10:17pm UTC](https://discourse.paraview.org/t/insert-custom-caption/4008 "2020-04-08T22:17:32Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 8, 2020, 10:17pm UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/1 "2020-04-08T22:17:32Z")

</div>

Hi everybody  
I would like to know if there is same way to make a caption during animation who write each time step of the dataset in the animation a value from a file … suppose I have let say 100 vtk file representing a set of point in the space and a file .dat in which for each of the 100 frame have a value to be read and printed out during animation … like when you insert the time caption for example

---

<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: [April 9, 2020, 4:13am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/2 "2020-04-09T04:13:43Z")

</div>

AnnotateTime.

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 7:12am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/3 "2020-04-09T07:12:19Z")

</div>

but In this way just the time is plotted … may you please explain me how does it works ?

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 7:24am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/4 "2020-04-09T07:24:31Z")

</div>

Maybe I’m not well explained what I nedd !  
Suppose I have a set of data representing molecule rehology on 3d space (the position is in function of the sourrounding flow field) saved in polydata vtk file.  
The (in-house) CFD code as well computed a parameter regarding the eigenvector of the strain tensor and wrote this eigenvector in a different file timestep by timestep … I would like to insert a caption like time annotation that insteed of print the time print the value read from file ! I don’t know if is possible write a programmable filter … and if so how can say print the value read from the 2 column of file time by time … any idea ?

---

<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: [April 9, 2020, 7:43am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/5 "2020-04-09T07:43:17Z")

</div>

AnnotateAttributeData

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 7:54am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/6 "2020-04-09T07:54:00Z")

</div>

I try to look for that filter … but is filter of data set … and I don’t see any option in order to read from file !  
may you please give me a short explain of how does it works ?

---

<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: [April 9, 2020, 7:57am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/7 "2020-04-09T07:57:00Z")

</div>

I misunderstood indeed.

Well, you need to read that file first. What is its format ?

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 7:58am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/8 "2020-04-09T07:58:20Z")

</div>

is a data file … ascii 4 columns output from fortran/c++ code

---

<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: [April 9, 2020, 8:15am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/9 "2020-04-09T08:15:51Z")

</div>

Looks like a .csv file. Can you try to open it with the delimited text reader ?  
Can you share it here ?

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 8:25am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/10 "2020-04-09T08:25:15Z")

</div>

yes ! I don’t know how to use delimited text reader where I can found it ?

[snf\_quads.dat](https://discourse.paraview.org/uploads/short-url/jluWGD1EX1n5VJgoXsZnWTxQQWu.dat) (103.5 KB)

---

<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: [April 9, 2020, 8:33am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/11 "2020-04-09T08:33:34Z")

</div>

- rename your snf\_quads.dat into snf\_quads.csv
- File -\> Open -\> snf\_quads.csv
- Uncheck “Have Headers”
- Use a space as delimiter
- Check “Merge consecutive delimiters”
- Apply
- Filters -\> Calculator
- Field0 (or the name of the field you want to show a value from)
- Apply
- Filters -\> AnnotateAttibuteDataSet
- Select “Results”
- Apply

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 9, 2020, 8:44am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/12 "2020-04-09T08:44:56Z")

</div>

I wil try ! thanks !

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 10, 2020, 1:50pm UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/13 "2020-04-10T13:50:48Z")

</div>

I’m not sure about … when I run animations both the polydata vtk fle and the reading of the valuve from file moving forward togheter … in a sense for each vtk file, one line of snf\_quads.csv going to be read?

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 11, 2020, 11:28am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/14 "2020-04-11T11:28:59Z")

</div>

no body know ?

---

<div class="post-metadata">

### Author: ![drudox00](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/d/a5b964/32.png) [@drudox00](https://discourse.paraview.org/u/drudox00)
#### Post date: [April 11, 2020, 3:40pm UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/15 "2020-04-11T15:40:56Z")

</div>

In this way I can just see the first row of the file !!! may you please help me about ?  
and as well … I did not find any AnnotateAttibuteDataSet but “Annotate Attribute Data” how can I manage vector instead of scalar ?

---

<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: [April 14, 2020, 3:42am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/16 "2020-04-14T03:42:01Z")

</div>

please avoid one-upping. Looks like you have had answers in another topic, closing this.

---

<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: [April 14, 2020, 3:42am UTC](https://discourse.paraview.org/t/insert-custom-caption/4008/17 "2020-04-14T03:42:05Z")

</div>


