fix px to pt conversion for markers
This commit is contained in:
parent
fe92a384b7
commit
ae953ab7e1
@ -768,7 +768,7 @@ function pgfx_marker(plotattributes, i = 1)
|
|||||||
a_stroke = alpha(cstr_stroke)
|
a_stroke = alpha(cstr_stroke)
|
||||||
mark_size =
|
mark_size =
|
||||||
pgfx_thickness_scaling(plotattributes) *
|
pgfx_thickness_scaling(plotattributes) *
|
||||||
0.5 *
|
0.75 *
|
||||||
_cycle(plotattributes[:markersize], i)
|
_cycle(plotattributes[:markersize], i)
|
||||||
return PGFPlotsX.Options(
|
return PGFPlotsX.Options(
|
||||||
"mark" =>
|
"mark" =>
|
||||||
@ -780,7 +780,7 @@ function pgfx_marker(plotattributes, i = 1)
|
|||||||
"fill" => cstr,
|
"fill" => cstr,
|
||||||
"fill opacity" => a,
|
"fill opacity" => a,
|
||||||
"line width" =>
|
"line width" =>
|
||||||
pgfx_thickness_scaling(plotattributes) *
|
pgfx_thickness_scaling(plotattributes) * 0.75 *
|
||||||
_cycle(plotattributes[:markerstrokewidth], i),
|
_cycle(plotattributes[:markerstrokewidth], i),
|
||||||
"rotate" => if shape == :dtriangle
|
"rotate" => if shape == :dtriangle
|
||||||
180
|
180
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user