# Using Plots, pgfplotsx(), multi-line ylabel?

**URL:** https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140
**Category:** New to Julia
**Tags:** plots, pgfplotsx
**Created:** [December 2, 2020, 6:47pm UTC](https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140 "2020-12-02T18:47:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)
#### Post date: [December 2, 2020, 6:47pm UTC](https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140/1 "2020-12-02T18:47:25Z")

</div>

For some reason using “\n” has not worked for me?

Could anyone show me a way of doing it?

Kind regards

---

<div class="post-metadata">

### Author: ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)
#### Post date: [December 2, 2020, 8:16pm UTC](https://discourse.julialang.org/t/using-plots-pgfplotsx-multi-line-ylabel/51140/2 "2020-12-02T20:16:29Z")

</div>

One way I found now:

```julia
using LaTeXStrings

ylabel!(L"\parbox{15em}{I have discovered a truly marvelous proof of this,\\which this margin is too narrow to contain.}")

```

Source: [horizontal alignment - Any way to center text within a \parbox? - TeX - LaTeX Stack Exchange](https://tex.stackexchange.com/questions/55860/any-way-to-center-text-within-a-parbox/55861)
