Merge 6c76745f323c699df4369e7c2724ab3bfc386118 into c15483d5937492a04e6fb060e49f2d20b3b9c8dc
This commit is contained in:
commit
4bf0a71334
@ -354,6 +354,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
|
||||||
|
|||||||
@ -1543,6 +1543,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
|
||||||
@ -1757,6 +1759,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