Bessel 1st
using CairoMakie, LaTeXStrings, SpecialFunctions
x = 0:0.1:15
fig = Figure(resolution = (600, 400), fonts =(; regular= "CMU Serif"))
ax = Axis(fig[1, 1], xlabel = L"x", ylabel = L"J_{\nu}(x)", ylabelsize = 22,
xlabelsize = 22, xgridstyle = :dash, ygridstyle = :dash, xtickalign = 1,
xticksize = 10, ytickalign = 1, yticksize = 10, xlabelpadding = -10)
for ν in 0:6
lines!(ax, x, besselj.(ν, x), label = latexstring("J_{$(ν)}(x)"))
end
axislegend(; nbanks = 3, framecolor = (:grey, 0.5));
Warning
This example was autogenerated using:
using Pkg
Pkg.status(["CairoMakie", "LaTeXStrings", "SpecialFunctions"])
Status `~/work/BeautifulMakie/BeautifulMakie/docs/Project.toml`
[13f3f980] CairoMakie v0.10.6
[b964fa9f] LaTeXStrings v1.3.0
[276daf66] SpecialFunctions v2.3.0
This page was generated using Literate.jl.