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

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

Could anyone show me a way of doing it?

Kind regards

One way I found now:

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

2 Likes