quiver plots

This commit is contained in:
Simon Christ
2019-11-22 00:23:47 +01:00
parent 311ace523d
commit 6d737dea7b
2 changed files with 53 additions and 3 deletions
+12
View File
@@ -113,4 +113,16 @@ end
plot(p1, p2)
# TODO: questionable tiling
end # testset
@testset "Framestyles" begin
scatter(fill(randn(10), 6), fill(randn(10), 6), framestyle=[:box :semi :origin :zerolines :grid :none], title=[":box" ":semi" ":origin" ":zerolines" ":grid" ":none"], color=permutedims(1:6), layout=6, label="", markerstrokewidth=0, ticks=-2:2)
# TODO: support :semi
end # testset
@testset "Quiver" begin
x = -2pi:0.2:2*pi
y = sin.(x)
u = ones(length(x))
v = cos.(x)
plot( x, y, quiver = (u, v), arrow = true )
end # testset
end # testset