From ae953ab7e1050438ebb2b9407e767648a9bd6307 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Thu, 16 Apr 2020 14:16:28 +0200 Subject: [PATCH] fix px to pt conversion for markers --- src/backends/pgfplotsx.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/pgfplotsx.jl b/src/backends/pgfplotsx.jl index 7029ca4e..ea067e7d 100644 --- a/src/backends/pgfplotsx.jl +++ b/src/backends/pgfplotsx.jl @@ -768,7 +768,7 @@ function pgfx_marker(plotattributes, i = 1) a_stroke = alpha(cstr_stroke) mark_size = pgfx_thickness_scaling(plotattributes) * - 0.5 * + 0.75 * _cycle(plotattributes[:markersize], i) return PGFPlotsX.Options( "mark" => @@ -780,7 +780,7 @@ function pgfx_marker(plotattributes, i = 1) "fill" => cstr, "fill opacity" => a, "line width" => - pgfx_thickness_scaling(plotattributes) * + pgfx_thickness_scaling(plotattributes) * 0.75 * _cycle(plotattributes[:markerstrokewidth], i), "rotate" => if shape == :dtriangle 180