diff --git a/src/recipes.jl b/src/recipes.jl index bae34819..74711add 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -102,6 +102,25 @@ end end @deps vline path +# --------------------------------------------------------------------------- +# path and scatter + +# create a path from steps +@recipe function f(::Type{Val{:scatterpath}}, x, y, z) + x := x + y := y + seriestype := :scatter + @series begin + seriestype := :path + label := "" + primary := false + () + end +() +end +@deps scatterpath path scatter + + # --------------------------------------------------------------------------- # steps