Navigation
scatterlines
scatterlines(xs, ys, [zs]; kwargs...)
Plots
scatter
markers and
lines
between them.
Attributes
Available attributes and their defaults for
MakieCore.Combined{Makie.scatterlines, T} where T
are:
color :black
colormap :viridis
colorrange MakieCore.Automatic()
cycle [:color]
inspectable true
linestyle "nothing"
linewidth 1.5
marker GeometryBasics.Circle{T} where T
markercolor MakieCore.Automatic()
markercolormap :viridis
markercolorrange MakieCore.Automatic()
markersize 9
strokecolor :black
strokewidth 0
Examples
using CairoMakie
f = Figure()
Axis(f[1, 1])
xs = LinRange(0, 10, 20)
ys = 0.5 .* sin.(xs)
scatterlines!(xs, ys, color = :red)
scatterlines!(xs, ys .- 1, color = xs, markercolor = :red)
scatterlines!(xs, ys .- 2, markersize = LinRange(5, 30, 20))
scatterlines!(xs, ys .- 3, marker = :cross, strokewidth = 1,
markersize = 20, color = :orange, strokecolor = :black)
f
© Makie.jl. Last modified: August 04, 2022. Website built with
Franklin.jl
and the
Julia programming language
.
These docs were autogenerated using Makie: v0.17.13, GLMakie: v0.6.13, CairoMakie: v0.8.13, WGLMakie: v0.6.13