WIP add GR hexbin

This commit is contained in:
Moelf 2020-10-09 00:06:21 -04:00
parent 2ef13c19ea
commit 6c76745f32
2 changed files with 6 additions and 0 deletions

View File

@ -355,6 +355,7 @@ const _gr_seriestype = [
:wireframe,
:volume,
:shape,
:hexbin,
]
const _gr_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
const _gr_marker = _allMarkers

View File

@ -1545,6 +1545,8 @@ function gr_add_series(sp, series)
else
gr_draw_image(series, x, y, z, clims)
end
elseif st == :hexbin
gr_draw_hexbin(series, x, y)
end
# this is all we need to add the series_annotations text
@ -1760,6 +1762,9 @@ function gr_draw_image(series, x, y, z, clims)
GR.drawimage(xmin, xmax, ymax, ymin, w, h, rgba)
end
function gr_draw_hexbin(series, x, y)
GR.hexbin(x, y)
end
# ----------------------------------------------------------------