When plotting dashed lines I can use linestyle=:dash
. To my taste the individual dashed are a bit short. Is there something like :longdash
in CairoMakie
?
Or how can I increase the dash length?
When plotting dashed lines I can use linestyle=:dash
. To my taste the individual dashed are a bit short. Is there something like :longdash
in CairoMakie
?
Or how can I increase the dash length?
You can use a vector of line-gap-line-… numbers, like [10, 4, 10]
. I think the dashes are scaled using the line width so one pattern looks the same no matter what the line width is.
Using it as lines(x, y, linestyle=[10, 4, 10])
does not work. The plot then doesn’t show the curve, but also misses the spines somehow.