a basic quiver plot
This commit is contained in:
parent
a0e0c2c950
commit
a54ff8a670
@ -440,7 +440,9 @@ const _pgfplots_attr = merge_with_base_supported([
|
||||
:grid, :legend,
|
||||
:colorbar, :colorbar_title,
|
||||
:fill_z, :line_z, :marker_z, :levels,
|
||||
# :ribbon, :quiver, :arrow,
|
||||
# :ribbon,
|
||||
:quiver,
|
||||
:arrow,
|
||||
# :orientation,
|
||||
# :overwrite_figure,
|
||||
:polar,
|
||||
|
||||
@ -200,7 +200,11 @@ function pgf_series(sp::Subplot, series::Series)
|
||||
PGFPlots.Contour
|
||||
end
|
||||
push!(series_collection, func(args...; kw...))
|
||||
|
||||
elseif series[:arrow] isa Arrow
|
||||
u, v = series[:quiver]
|
||||
x = series[:x][2:4:end]
|
||||
y = series[:y][2:4:end]
|
||||
push!( series_collection, PGFPlots.Quiver(x,y,u,v, style="-stealth'") )
|
||||
else
|
||||
# series segments
|
||||
segments = iter_segments(series)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user