# \#recipes

**URL:** https://discourse.julialang.org/tag/recipes/810.md

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

---

## [Lining up zeros on plot with 2 y axes](https://discourse.julialang.org/t/lining-up-zeros-on-plot-with-2-y-axes/107736)

<div class="topic-metadata">

**Author:** [@aoifehealy](https://discourse.julialang.org/u/aoifehealy)\
**Replies:** 7\
**Last updated:** [December 21, 2023, 11:28am UTC](https://discourse.julialang.org/t/lining-up-zeros-on-plot-with-2-y-axes/107736 "2023-12-21T11:28:26Z")

</div>

Hi there, I am plotting 2 different datasets on the same plot, but using different scaled y axes, using the following code: plot(ShiSimpleSolV, idxs = \[circ\_sys.MV.q\]) plot!(twinx(), ShiSimpleSolV, idxs = \[circ\_sys.MV…
