Render LaTeX in plot

I’m trying to render LaTex in the following plot:

    using LaTeXStrings
    using Plots

    plotly()
    plot(100 * ω_compac,ρ_seco,
    title = "Curva de Compactação",
    xlabel = "ω(%)",
    ylabel = L"\rho_{seco}(kg/m³)",
    label = false,
    markershape = :circle)

But the output is
plot

There is a way to this in this backend or I need to try another?

There was a similar question: Latex typesetting in Plots with plotly backend? - #3 by hhaensel

AFAIK, gr() and pyplot() backends support LaTeXStrings better

2 Likes