# Plot(twinx(), ...) creates ylabel on the wrong side of the plot (left instead of ríght)

**URL:** <https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437>\
**Category:** Visualization\
**Tags:** bug\
**Created:** [December 1, 2017, 2:49pm UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437 "2017-12-01T14:49:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LotteVictor](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@LotteVictor](https://discourse.julialang.org/u/LotteVictor)\
**Post date:** [December 1, 2017, 2:49pm UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437/1 "2017-12-01T14:49:39Z")

</div>

Hey all! I hope, I’m posting this in the correct category. In my question about visualization ([Overlay plot with second plot with second y-axis to the right?](https://discourse.julialang.org/t/overlay-plot-with-second-plot-with-second-y-axis-to-the-right/6558)) an issue occured that was identified as a bug by @mkborregaard:  
When using `plot(twinx()...)` the ylabel does not appear on the right side (as it should) but on the left side, on top of the original ylabel. I’m using Juno, Plots.jl, GR backend, Julia 0.6.0

Thanks so much!

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [December 1, 2017, 2:52pm UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437/2 "2017-12-01T14:52:44Z")

</div>

I changed this from the Development category to Visualization: the Development category is for Julia internals development only.

Anyways, yeah, I noticed this yesterday and noted this to @mkborregaard and @jheinen in the Gitter channel. It’s probably still in the scroll back.

---

<div class="post-metadata">

**Author:** ![mkborregaard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkborregaard/32/556_2.png) [@mkborregaard](https://discourse.julialang.org/u/mkborregaard)\
**Post date:** [December 1, 2017, 3:44pm UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437/3 "2017-12-01T15:44:39Z")

</div>

Ah, no, sorry. Opening an issue is done on the corresponding github repository: [https://github.com/JuliaPlots/Plots.jl/issues/new](https://github.com/JuliaPlots/Plots.jl/issues/new)

---

<div class="post-metadata">

**Author:** ![LotteVictor](https://avatars.discourse-cdn.com/v4/letter/l/b19c9b/32.png) [@LotteVictor](https://discourse.julialang.org/u/LotteVictor)\
**Post date:** [December 4, 2017, 8:53am UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437/4 "2017-12-04T08:53:13Z")

</div>

I see, TIL 🙂 I opened an issue ([https://github.com/JuliaPlots/Plots.jl/issues/1276](https://github.com/JuliaPlots/Plots.jl/issues/1276)), hope that’s correct now. Thanks again!
