Skip to content

simple scatterlines

julia
using CairoMakie

x = LinRange(0, , 50)
fig = Figure(size = (600, 400))
ax = Axis(fig[1, 1], xlabel = "x", ylabel = "")
scatterlines!(x, sin.(x);
    color = :black,
    markersize = 10,
    label = "sin(x)")
axislegend()
fig