JuliaPlots / Plots.jl

Powerful convenience for Julia visualizations and data analysis
https://docs.juliaplots.org
Other
1.84k stars 356 forks source link

Latex text at y label is not rotated #1191

Closed mmikhasenko closed 2 years ago

mmikhasenko commented 7 years ago
using Plots
gr()
plot(
x->x^3-8*x^2, 0, 10,
  xlab="\$s_{\\pi\\pi}(\\textrm{GeV}^{2})\$",
  ylab="\$\\mathrm{d}\\sigma/\\mathrm{d}s_{\\pi\\pi}\$"
)

test

Although the label ylab="d\\sigma / ds_{\\pi\\pi}" is aligned correclty it does not look nice enough. Obviously, font differs from the latex xlabel.

test.pdf

t-bltg commented 2 years ago

This appear to be fixed.