Merge pull request #1005 from jheinen/master

gr: use correct gradient labels for scatter plot
This commit is contained in:
Josef Heinen 2017-08-10 09:47:57 +02:00 committed by GitHub
commit 11c71d7a5d

View File

@ -860,6 +860,11 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
end
if series[:markershape] != :none
if series[:marker_z] != nothing
zmin, zmax = extrema(series[:marker_z])
GR.setspace(zmin, zmax, 0, 90)
GR.setscale(0)
end
gr_draw_markers(series, x, y)
end