Sine

using CairoMakie

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

Warning

This example was autogenerated using:

using Pkg
Pkg.status(["CairoMakie"])
Status `~/work/BeautifulMakie/BeautifulMakie/docs/Project.toml`
  [13f3f980] CairoMakie v0.10.6

This page was generated using Literate.jl.