# Label Format

**URL:** https://discourse.paraview.org/t/label-format/11630
**Category:** ParaView Support
**Created:** [March 15, 2023, 7:05am UTC](https://discourse.paraview.org/t/label-format/11630 "2023-03-15T07:05:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![saman89](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@saman89](https://discourse.paraview.org/u/saman89)
#### Post date: [March 15, 2023, 7:05am UTC](https://discourse.paraview.org/t/label-format/11630/1 "2023-03-15T07:05:43Z")

</div>

Hello  
can change legend Label Format view from 1e+06 to 1e6.

---

<div class="post-metadata">

### Author: ![patchett2002](https://discourse.paraview.org/user_avatar/discourse.paraview.org/patchett2002/32/235_2.png) [@patchett2002](https://discourse.paraview.org/u/patchett2002)
#### Post date: [March 15, 2023, 2:13pm UTC](https://discourse.paraview.org/t/label-format/11630/2 "2023-03-15T14:13:02Z")

</div>

Hi saman, I think you are looking for the “Edit Color Legend Properties” and need to figure out the correct format string. I can’t figure out how to remove the sign on the exponent, but could get rid of the extra zero using ‘g’ (“%1.g”).

 ![Screen Shot 2023-03-15 at 8.03.03 AM](https://discourse.paraview.org/uploads/default/original/2X/c/c6bad53a8341d9638686f6f305482618c1b9ab46.png)  
I _believe_ that ParaView is using python to do the string formatting, which nominally follows C’s [printf](https://en.wikipedia.org/wiki/Printf_format_string). If you can figure out the correct format string, you could do what you want. I believe the f, F, e, E format flags all have a minimum of 2 digits in the exponent, so I think ‘g’ is what you want.

---

<div class="post-metadata">

### Author: ![wkitlasten](https://discourse.paraview.org/user_avatar/discourse.paraview.org/wkitlasten/32/10441_2.png) [@wkitlasten](https://discourse.paraview.org/u/wkitlasten)
#### Post date: [July 25, 2024, 2:54am UTC](https://discourse.paraview.org/t/label-format/11630/3 "2024-07-25T02:54:32Z")

</div>

Hi, there appears to be an issue with the upper and lower bound on the legend when not using scientifici notation. For example:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/d/d2efb6f76dbef042791be8fe823f76339b7f0754.png)

vs:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/47fdf1d52959f769865bf27e85129c4fe2607e5e.png)

I have tried several variations but I cannot get the upper and lower bounds to display unless using scientific notation. Any suggestions?

---

<div class="post-metadata">

### Author: ![saman89](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/cc9497/32.png) [@saman89](https://discourse.paraview.org/u/saman89)
#### Post date: [July 28, 2024, 4:46pm UTC](https://discourse.paraview.org/t/label-format/11630/4 "2024-07-28T16:46:33Z")

</div>

hello,  
using the following format, use f instead of e and g.

![Capture](https://discourse.paraview.org/uploads/default/original/2X/e/ef630de9f8dbf6d987b4c0ed5fc3a83a1516ace8.png)
