Merge pull request #2850 from daschw/gr-error

fix yerror and marker_z
This commit is contained in:
Daniel Schwabeneder 2020-07-08 08:58:12 +02:00 committed by GitHub
commit 0d776fd09d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -349,11 +349,13 @@ function gr_draw_markers(
shapes = series[:markershape] shapes = series[:markershape]
if shapes != :none if shapes != :none
for i in eachindex(x) for (i, rng) in enumerate(iter_segments(series))
ms = get_thickness_scaling(series) * _cycle(msize, i) ms = get_thickness_scaling(series) * _cycle(msize, i)
msw = get_thickness_scaling(series) * _cycle(strokewidth, i) msw = get_thickness_scaling(series) * _cycle(strokewidth, i)
shape = _cycle(shapes, i) shape = _cycle(shapes, i)
gr_draw_marker(series, x[i], y[i], clims, i, ms, msw, shape) for j in rng
gr_draw_marker(series, _cycle(x, j), _cycle(y, j), clims, i, ms, msw, shape)
end
end end
end end
end end

View File

@ -1042,6 +1042,7 @@ function error_style!(plotattributes::AKW)
end end
plotattributes[:seriestype] = :path plotattributes[:seriestype] = :path
plotattributes[:markerstrokecolor] = msc
plotattributes[:markercolor] = msc plotattributes[:markercolor] = msc
plotattributes[:linecolor] = msc plotattributes[:linecolor] = msc
plotattributes[:linewidth] = plotattributes[:markerstrokewidth] plotattributes[:linewidth] = plotattributes[:markerstrokewidth]