only flip colorbar for marker_z
This commit is contained in:
parent
11c71d7a5d
commit
8288e85c25
@ -336,6 +336,7 @@ function gr_draw_markers(series::Series, x, y)
|
|||||||
GR.setfillintstyle(GR.INTSTYLE_SOLID)
|
GR.setfillintstyle(GR.INTSTYLE_SOLID)
|
||||||
gr_draw_markers(series, x, y, series[:markersize], mz)
|
gr_draw_markers(series, x, y, series[:markersize], mz)
|
||||||
if mz != nothing
|
if mz != nothing
|
||||||
|
GR.setscale(0)
|
||||||
gr_colorbar(series[:subplot])
|
gr_colorbar(series[:subplot])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -863,7 +864,6 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
|||||||
if series[:marker_z] != nothing
|
if series[:marker_z] != nothing
|
||||||
zmin, zmax = extrema(series[:marker_z])
|
zmin, zmax = extrema(series[:marker_z])
|
||||||
GR.setspace(zmin, zmax, 0, 90)
|
GR.setspace(zmin, zmax, 0, 90)
|
||||||
GR.setscale(0)
|
|
||||||
end
|
end
|
||||||
gr_draw_markers(series, x, y)
|
gr_draw_markers(series, x, y)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user