gr: added support for hexbin plots
This commit is contained in:
parent
1555876280
commit
471b09bd6c
@ -33,7 +33,7 @@ const _gr_attr = merge_with_base_supported([
|
||||
:arrow,
|
||||
])
|
||||
const _gr_seriestype = [
|
||||
:path, :scatter,
|
||||
:path, :scatter, :hexbin,
|
||||
:heatmap, :pie, :image,
|
||||
:contour, :path3d, :scatter3d, :surface, :wireframe,
|
||||
:shape
|
||||
@ -798,6 +798,9 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
||||
gr_draw_markers(series, x, y)
|
||||
end
|
||||
|
||||
elseif st == :hexbin
|
||||
GR.hexbin(x, y, nbins = series[:bins])
|
||||
|
||||
elseif st == :contour
|
||||
zmin, zmax = gr_lims(zaxis, false)
|
||||
clims = sp[:clims]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user