# Unexpected spacing in LaTeX plot label

**URL:** <https://discourse.julialang.org/t/unexpected-spacing-in-latex-plot-label/63740>\
**Category:** General Usage\
**Tags:** plotting, latex, gr\
**Created:** [June 29, 2021, 9:52am UTC](https://discourse.julialang.org/t/unexpected-spacing-in-latex-plot-label/63740 "2021-06-29T09:52:35Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![psanan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/psanan/32/30106_2.png) [@psanan](https://discourse.julialang.org/u/psanan)\
**Post date:** [June 29, 2021, 5:52pm UTC](https://discourse.julialang.org/t/unexpected-spacing-in-latex-plot-label/63740/6 "2021-06-29T17:52:20Z")

</div>

That does look nicer - thanks! At the end of the day this will allow me to generate my plots, but it’s a bit inconvenient because my other plots unfortunately don’t work with `pgfplotsx()` (and they’re slow, so I want to use GR for its promised speed). Simply changing the backend for some of the plots doesn’t work in my code as written, because of [this issue](https://discourse.julialang.org/t/defining-plots-in-function-results-in-world-problem/42401) where you can’t change plot backends within a function. In any case, I’ll mark this as the solution since the original problem is a known issue with the GR backend.

---

_[View the full topic](https://discourse.julialang.org/t/unexpected-spacing-in-latex-plot-label/63740)._
