basic quiver support
This commit is contained in:
parent
3313780b4e
commit
ada146fe4e
@ -923,6 +923,8 @@ const _unicodeplots_attr = merge_with_base_supported([
|
|||||||
:linecolor,
|
:linecolor,
|
||||||
:linestyle,
|
:linestyle,
|
||||||
:markershape,
|
:markershape,
|
||||||
|
:quiver,
|
||||||
|
:arrow,
|
||||||
:seriesalpha,
|
:seriesalpha,
|
||||||
:seriescolor,
|
:seriescolor,
|
||||||
:scale,
|
:scale,
|
||||||
|
|||||||
@ -123,11 +123,10 @@ function addUnicodeSeries!(
|
|||||||
return UnicodePlots.spy(series[:z].surf; kw...)
|
return UnicodePlots.spy(series[:z].surf; kw...)
|
||||||
end
|
end
|
||||||
|
|
||||||
series_kw = (;)
|
|
||||||
|
|
||||||
# now use the ! functions to add to the plot
|
# now use the ! functions to add to the plot
|
||||||
if st in (:path, :straightline, :shape)
|
if st in (:path, :straightline, :shape)
|
||||||
func = UnicodePlots.lineplot!
|
func = UnicodePlots.lineplot!
|
||||||
|
series_kw = (; head_tail = series[:arrow] isa Arrow ? series[:arrow].side : nothing)
|
||||||
elseif st == :scatter || series[:markershape] != :none
|
elseif st == :scatter || series[:markershape] != :none
|
||||||
func = UnicodePlots.scatterplot!
|
func = UnicodePlots.scatterplot!
|
||||||
series_kw = (; marker = series[:markershape])
|
series_kw = (; marker = series[:markershape])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user