From 96d34bb5eeaf82a9ec20c08d6930e64374b0cdda Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 21 Jul 2017 10:05:27 +0200 Subject: [PATCH] changed marker for path with fillrange --- src/backends/gr.jl | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/backends/gr.jl b/src/backends/gr.jl index acb06b04..a3a40caf 100644 --- a/src/backends/gr.jl +++ b/src/backends/gr.jl @@ -1057,11 +1057,15 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas) x = [l, r, r, l, l] y = [b, b, t, t, b] gr_polyline(x, y, GR.fillarea) - series[:ribbon] != nothing || gr_polyline(x, y) + st == :shape && gr_polyline(x, y) end - if st == :path && (series[:fillrange] == nothing || series[:ribbon] != nothing) - GR.polyline([xpos - 0.07, xpos - 0.01], [ypos, ypos]) + if st == :path + if series[:fillrange] == nothing || series[:ribbon] != nothing + GR.polyline([xpos - 0.07, xpos - 0.01], [ypos, ypos]) + else + GR.polyline([xpos - 0.07, xpos - 0.01], [ypos+0.4dy, ypos+0.4dy]) + end end if series[:markershape] != :none