# Only show significand as tick label

**URL:** <https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308>\
**Category:** Visualization\
**Tags:** plotting, makie\
**Created:** [May 4, 2023, 9:37am UTC](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308 "2023-05-04T09:37:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alistair.white](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alistair.white/32/43914_2.png) [@alistair.white](https://discourse.julialang.org/u/alistair.white)\
**Post date:** [May 4, 2023, 9:37am UTC](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308/1 "2023-05-04T09:37:44Z")

</div>

Hi there,

If I have tick labels like those in the picture, is there a nice way to express them in scientific notation and display the exponent e.g. at the top of the y-axis, with only the significands as tick labels? This would save a lot of space.

Thanks!

![Screenshot from 2023-05-03 10-45-13](https://global.discourse-cdn.com/julialang/original/3X/e/e/ee12d0de634e7b1ef695e6e5eaa85796bb117dce.png)

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [May 4, 2023, 10:01am UTC](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308/2 "2023-05-04T10:01:12Z")

</div>

No automatic way, currently. You could make a tick formatting function that divides the numbers by your chosen value before turning them into strings, and then you add that value manually like `Label(fig[1, 1, Left()], "some value", valign = :top)`.

---

<div class="post-metadata">

**Author:** ![alistair.white](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alistair.white/32/43914_2.png) [@alistair.white](https://discourse.julialang.org/u/alistair.white)\
**Post date:** [May 4, 2023, 10:05am UTC](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308/3 "2023-05-04T10:05:31Z")

</div>

Thanks!
