How do modify marker thickness in Plots.jl?

Is there a way to change the thickness of the line-type markers (e.g. :xcross and :cross) in Plots.jl? I’m using the GR backend, if it matters.

I’d expect the following to give a marker with pretty thick lines, but neither the markerstrokewidth or linewidth attributes seem to affect the marker. markerstrokewidth does seem to affect the stroke of some other marker shapes like :diamond.

scatter([5], [5], xlims=(0,10), ylims=(0,10),
        markershape=:xcross,
        color=:black,
        markerstrokewidth=5,
        linewidth=5,
        markersize=20)

Gives:

image

4 Likes

Does it affect all unfilled markers?