# How to display variable values in the view?

**URL:** https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172
**Category:** ParaView Support
**Tags:** exodus
**Created:** [July 6, 2019, 1:06am UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172 "2019-07-06T01:06:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mariana\_Rodriguez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mariana_rodriguez/32/1668_2.png) [@Mariana\_Rodriguez](https://discourse.paraview.org/u/Mariana_Rodriguez)
#### Post date: [July 6, 2019, 1:06am UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172/1 "2019-07-06T01:06:48Z")

</div>

I would like to display the maximum pressure and other simulation variables in the screen view of ParaView. And I want to allow it to change over time as time progresses. Similar to Annotate Time Fileter, but with other variables.

Could someone please let me know how can I do 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: [July 8, 2019, 7:51am UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172/2 "2019-07-08T07:51:57Z")

</div>

Sound like Python Annotation filter.

Filters -\> Alphabetical -\> Python Annotation

---

<div class="post-metadata">

### Author: ![Mariana\_Rodriguez](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mariana_rodriguez/32/1668_2.png) [@Mariana\_Rodriguez](https://discourse.paraview.org/u/Mariana_Rodriguez)
#### Post date: [July 10, 2019, 11:23pm UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172/3 "2019-07-10T23:23:04Z")

</div>

Thank you for your reply.

I have an additional question. How can I get the maximum value of an array of one variable?  
I just used Python annotation filter but I cant find how to get the maximum of it.  
Calculator filter does not have maximum function.

Thank you,  
Mariana

---

<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: [July 16, 2019, 3:59am UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172/4 "2019-07-16T03:59:01Z")

</div>

Perhaps I am misunderstanding the problem here, but there is a `max` function available in the **Python Annotation** filter Expression property. For example, if you want the maximum of array “MyArray”, you can set your Expression to `max(MyArray)`.

---

<div class="post-metadata">

### Author: ![Qutadah\_Rababah](https://discourse.paraview.org/user_avatar/discourse.paraview.org/qutadah_rababah/32/7033_2.png) [@Qutadah\_Rababah](https://discourse.paraview.org/u/Qutadah_Rababah)
#### Post date: [March 22, 2022, 9:50pm UTC](https://discourse.paraview.org/t/how-to-display-variable-values-in-the-view/2172/5 "2022-03-22T21:50:59Z")

</div>

hello Cory,

I used the python annotation filter to find the max, but then where do I see the value exactly? I am trying to find the maximum volume ratio variable of bubble to cell volume along all cells in the mesh.

I have used **Calculator** and then used **Python Annotation** …

Thanks!
