Adjust the decimals in scientific notation with Plots.jl

There are some examples here in discourse. See if this one helps.

With the latest recommended Format.jl package, try:

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