# Colorbar scientific notation format differs for range and labels

**URL:** https://discourse.paraview.org/t/colorbar-scientific-notation-format-differs-for-range-and-labels/8652
**Category:** ParaView Support
**Created:** [December 18, 2021, 6:26pm UTC](https://discourse.paraview.org/t/colorbar-scientific-notation-format-differs-for-range-and-labels/8652 "2021-12-18T18:26:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![olli\_27](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/o/ac91a4/32.png) [@olli\_27](https://discourse.paraview.org/u/olli_27)
#### Post date: [December 18, 2021, 6:26pm UTC](https://discourse.paraview.org/t/colorbar-scientific-notation-format-differs-for-range-and-labels/8652/1 "2021-12-18T18:26:11Z")

</div>

Hello there,

when using scientific format (e.g. ‘%-#6.2e’) for the colorbar labels (rangelabels and labels) the amount of characters for the exponent differs for the rangelabels and labels: For the rangelabels, the exponent includes a leading 0, e.g. 0.01 is shown as **1e-02** whereas for labels, the same number would be shown as **1e-2** (without the zero). I would like to have the exact same formatting for both the rangelabels and the labels with two characters in the exponent (like 1e-02). As of my understanding you cannot control the amount of characters of the exponent through printf options. Is there a way to solve this?

Thank you!

Regards,  
Oliver

PS: I use ParaView 5.9.1 on Windows 10

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [December 21, 2021, 9:37am UTC](https://discourse.paraview.org/t/colorbar-scientific-notation-format-differs-for-range-and-labels/8652/2 "2021-12-21T09:37:01Z")

</div>

I fear there is no way to do that … Maybe open an issue on [our bug tracker](https://gitlab.kitware.com/paraview/paraview/-/issues)?

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [December 21, 2021, 5:58pm UTC](https://discourse.paraview.org/t/colorbar-scientific-notation-format-differs-for-range-and-labels/8652/3 "2021-12-21T17:58:55Z")

</div>

I wrote up and funded this one. Thanks for reporting. [https://gitlab.kitware.com/paraview/paraview/-/issues/21141](https://gitlab.kitware.com/paraview/paraview/-/issues/21141)
