Markers
using CairoMakie
x = LinRange(0, 2Ï€, 50)
fig = Figure(resolution = (600, 400))
ax = Axis(fig[1, 1], xlabel = "x")
scatterlines!(x, sin.(x), color = :black, label = "sin(x)",
marker = 'â—†', markersize = 10)
scatterlines!(x, cos.(x), color = :black, label = "cos(x)",
marker = 'â– ', markercolor = :red, markersize = 10,
strokewidth = 1, strokecolor = :red)
axislegend(; position = :cc)
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.