gr: use correct gradient labels for scatter plot

This commit is contained in:
Josef Heinen 2017-08-10 09:08:27 +02:00
parent 2ab7f3c767
commit d90b2e6142

View File

@ -860,6 +860,11 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
end end
if series[:markershape] != :none 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) gr_draw_markers(series, x, y)
end end