parent
fe4cc4d58c
commit
40848e7432
@ -537,14 +537,19 @@ end
|
|||||||
@recipe function f(::Type{Val{:scatterbins}}, x, y, z)
|
@recipe function f(::Type{Val{:scatterbins}}, x, y, z)
|
||||||
edge, weights, xscale, yscale, baseline =
|
edge, weights, xscale, yscale, baseline =
|
||||||
_preprocess_binlike(plotattributes, x, y)
|
_preprocess_binlike(plotattributes, x, y)
|
||||||
|
@series begin
|
||||||
|
x := _bin_centers(edge)
|
||||||
xerror := diff(edge) / 2
|
xerror := diff(edge) / 2
|
||||||
|
primary := false
|
||||||
|
seriestype := :xerror
|
||||||
|
()
|
||||||
|
end
|
||||||
x := _bin_centers(edge)
|
x := _bin_centers(edge)
|
||||||
y := weights
|
y := weights
|
||||||
seriestype := :scatter
|
seriestype := :scatter
|
||||||
()
|
()
|
||||||
end
|
end
|
||||||
@deps scatterbins scatter
|
@deps scatterbins xerror scatter
|
||||||
|
|
||||||
|
|
||||||
function _stepbins_path(
|
function _stepbins_path(
|
||||||
edge,
|
edge,
|
||||||
@ -1094,7 +1099,7 @@ end
|
|||||||
end
|
end
|
||||||
()
|
()
|
||||||
end
|
end
|
||||||
@deps xerror path
|
@deps zerror path
|
||||||
|
|
||||||
|
|
||||||
# TODO: move quiver to PlotRecipes
|
# TODO: move quiver to PlotRecipes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user