# Plots renders exponents not correctly(?)

**URL:** <https://discourse.julialang.org/t/plots-renders-exponents-not-correctly/27495>\
**Category:** General Usage\
**Created:** [August 13, 2019, 11:38am UTC](https://discourse.julialang.org/t/plots-renders-exponents-not-correctly/27495 "2019-08-13T11:38:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LS64](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ls64/32/3743_2.png) [@LS64](https://discourse.julialang.org/u/LS64)\
**Post date:** [August 13, 2019, 11:38am UTC](https://discourse.julialang.org/t/plots-renders-exponents-not-correctly/27495/1 "2019-08-13T11:38:02Z")

</div>

Dear all,

I try to plot (Plots, GR) some curves with a y-label that contains an exponent.

```julia
plot_3 = plot(Time, N, title = "Runs with BNF and Reduction in Oceans",
    title_location = :center,
    label = "",
    xlabel = "Myr ago",
    ylabel = "atm. nitrogen amount / 10^{9} Tg",
    xflip = true,
    legend = false,
    minorticks = 5,
    linestyle = :dash,
    left_margin = l_margin, bottom_margin = b_margin, top_margin = t_margin, right_margin = r_margin, color = col[1])

plot(plot_2,plot_3,layout = (1,2))

savefig("file.png")

```

Well, the exponent is shown correctly in the Atom plot pane, but not in the final file. Can anybody help me there? The attached figure should explain what I mean.

 ![Unbenannt-3](https://global.discourse-cdn.com/julialang/original/3X/3/3/336c6aa5cc13148d7d5d8f09a75471aa48b382e1.jpeg)

If required, here is the style of my plots:

```julia
using Plots, Plots.PlotMeasures
    sX = 630 # 630
    sY = 315 # 315
    sD = 300
    sT = "Calibri"
    sT1 = 8
    sT2 = 7
    l_margin = [0px 0px]
    b_margin = [4px 0px]
    t_margin = [2px 0px]
    r_margin = [-6px 0px]
    col = [:blue :cyan :gold :red :green :black :orange :red :black :limegreen :darkturquoise :navy :blueviolet :navajowhite3 :magenta :red :goldenrod1 :lightcoral :orangered4]
    default(size=(sX,sY), dpi=sD, titlefont=(sT1,sT), guidefont=(sT2,sT), tickfont=(sT2,sT), legendfont=(sT2,sT), framestyle = :box, seriescolor = col)

```

Btw.: The layout style with 2 plots in one figure is not the reason; I tried it out several times.

Thanks for reading and, in advance, for your support.
