# Adjust the decimals in scientific notation with Plots.jl

**URL:** <https://discourse.julialang.org/t/adjust-the-decimals-in-scientific-notation-with-plots-jl/131555>\
**Category:** New to Julia\
**Tags:** plots, formatting\
**Created:** [August 12, 2025, 10:05am UTC](https://discourse.julialang.org/t/adjust-the-decimals-in-scientific-notation-with-plots-jl/131555 "2025-08-12T10:05:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [August 12, 2025, 10:39am UTC](https://discourse.julialang.org/t/adjust-the-decimals-in-scientific-notation-with-plots-jl/131555/2 "2025-08-12T10:39:31Z")

</div>

> [@kraqbi](#):
>
> I guess I should use yformatter, but I could not find a documentation or a tutorial to apply.

There are some examples here in discourse. See if [this](https://discourse.julialang.org/t/argument-for-number-of-axis-ticks/76817/2) one helps.

With the latest recommended Format.jl package, try:

```julia-auto
using Format, Plots
x = 0:1:10
plot(x, x*1e-6, yformatter = x -> cfmt( "%.1e", x), tickfontsize=6)

```

---

_[View the full topic](https://discourse.julialang.org/t/adjust-the-decimals-in-scientific-notation-with-plots-jl/131555)._
