You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, in GLMakie, use syntax like ax = Axis(f[1, 1], xlabel=L'Iter', ylabel=L'\log (\mathbf{r} ^ \mathrm{T} \mathbf{r})') to set the parameters of Axis.
I tried
f = Figure()
ax = Axis(f[1, 1],
title = "Experimental data and exponential fit",
xlabel = "Time (seconds)",
ylabel =typst"$\e^x$",
)
but dosen't work.
The text was updated successfully, but these errors were encountered:
I haven't been able to get a working example yet, but am working on seeing if it's possible. There's also another example in the MakieTeX.jl documentation.
Unfortunately that isn't directly possible with MakieTeX - you can use an LTeX block as a fake ylabel though, if you rotate it by 90 degrees to the left and place it at fig[axis_layout_idx..., Left()] for example
And an example:
using Pkg: add
add(["GLMakie", "MakieTeX", "Typstry"])
f =Figure()
LTeX(f[2, 1], TypstDocument(typst"#set text(64pt); $e^x$"))
scatter(f[1:3, 2], 0, 0)
For example, in GLMakie, use syntax like ax = Axis(f[1, 1], xlabel=L'Iter', ylabel=L'\log (\mathbf{r} ^ \mathrm{T} \mathbf{r})') to set the parameters of Axis.
I tried
f = Figure()
ax = Axis(f[1, 1],
title = "Experimental data and exponential fit",
xlabel = "Time (seconds)",
ylabel =typst"$\e^x$",
)
but dosen't work.
The text was updated successfully, but these errors were encountered: