WIP add GR hexbin
This commit is contained in:
parent
2ef13c19ea
commit
6c76745f32
@ -355,6 +355,7 @@ const _gr_seriestype = [
|
|||||||
:wireframe,
|
:wireframe,
|
||||||
:volume,
|
:volume,
|
||||||
:shape,
|
:shape,
|
||||||
|
:hexbin,
|
||||||
]
|
]
|
||||||
const _gr_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
|
const _gr_style = [:auto, :solid, :dash, :dot, :dashdot, :dashdotdot]
|
||||||
const _gr_marker = _allMarkers
|
const _gr_marker = _allMarkers
|
||||||
|
|||||||
@ -1545,6 +1545,8 @@ function gr_add_series(sp, series)
|
|||||||
else
|
else
|
||||||
gr_draw_image(series, x, y, z, clims)
|
gr_draw_image(series, x, y, z, clims)
|
||||||
end
|
end
|
||||||
|
elseif st == :hexbin
|
||||||
|
gr_draw_hexbin(series, x, y)
|
||||||
end
|
end
|
||||||
|
|
||||||
# this is all we need to add the series_annotations text
|
# 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)
|
GR.drawimage(xmin, xmax, ymax, ymin, w, h, rgba)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function gr_draw_hexbin(series, x, y)
|
||||||
|
GR.hexbin(x, y)
|
||||||
|
end
|
||||||
|
|
||||||
# ----------------------------------------------------------------
|
# ----------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user