Add markerstrokewidth to pgfplots.
This commit is contained in:
parent
534f57b227
commit
89f8030ba1
@ -24,7 +24,7 @@ supportedArgs(::PGFPlotsBackend) = [
|
|||||||
:markercolor,
|
:markercolor,
|
||||||
:markersize,
|
:markersize,
|
||||||
:markeralpha,
|
:markeralpha,
|
||||||
# :markerstrokewidth,
|
:markerstrokewidth,
|
||||||
:markerstrokecolor,
|
:markerstrokecolor,
|
||||||
:markerstrokestyle,
|
:markerstrokestyle,
|
||||||
# :n,
|
# :n,
|
||||||
@ -138,6 +138,7 @@ function _pgfplots_get_marker!(kwargs, plt)
|
|||||||
# Control marker colors and alphas
|
# Control marker colors and alphas
|
||||||
α = plt[:markeralpha] == nothing ? 1.0 : plt[:markeralpha]
|
α = plt[:markeralpha] == nothing ? 1.0 : plt[:markeralpha]
|
||||||
push!(kwargs[:style], "mark options = {color=$(_pgfplots_get_color(plt, :markerstrokecolor))")
|
push!(kwargs[:style], "mark options = {color=$(_pgfplots_get_color(plt, :markerstrokecolor))")
|
||||||
|
push!(kwargs[:style], "line width=$(plt[:markerstrokewidth])")
|
||||||
mark == :dtriangle && push!(kwargs[:style], "rotate=180")
|
mark == :dtriangle && push!(kwargs[:style], "rotate=180")
|
||||||
push!(kwargs[:style], "fill=$(_pgfplots_get_color(plt, :markercolor)), fill opacity = $α")
|
push!(kwargs[:style], "fill=$(_pgfplots_get_color(plt, :markercolor)), fill opacity = $α")
|
||||||
markstrokestyle = plt[:markerstrokestyle]
|
markstrokestyle = plt[:markerstrokestyle]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user