added scatterpath series recipe
This commit is contained in:
parent
7f231057fd
commit
9b8510ab3e
@ -102,6 +102,25 @@ end
|
|||||||
end
|
end
|
||||||
@deps vline path
|
@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
|
# steps
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user