I’m trying to understand why my code isn’t working and I can’t use LaTeX in my Makie graph. Can someone help me?
using GLMakie, LaTeXStrings
lines(xs, sin.(π.*xs), axis=(title=L"\sin{x}",))
works here.
The culprit was probably the empty denominator in \frac{\sin{x}}{}
.
Tested wiith GLMakie v0.5.5
1 Like
this works fine for me.
lines(1:10, axis = (; title = L"\frac{\sin{x}}{x}"))
with GLMakie v0.5.4
1 Like
Thank you guys! Just a question, my Makie is v0.4.5 how to update to 0.5.4 or 0.5.5? I’m using windows
Go to package mode with “]” and then do “up”
1 Like