Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WindBarbs.jl

Draw wind barbs using Makie.scatter!

include("WindBarbs.jl/wind-barbs.jl")
using .WindBarbs
windpath = BezierPath(wind_path(30))

p = scatter(1:5,
    marker=windpath,
    markersize=range(1, 2, length=5),
    rotations=range(0, 2pi, length=6)[1:end-1],

    # color=:transparent, 
    strokecolor=:black, strokewidth=1
)

save("scatter-path.png", p)

scatter-path.png

scatter_wind2(xs=1:2, ys=1:2, us=[10 10; -10 -10], vs=[10 -10; -10 10], filename="scatter-path2.png")

scatter-path2.png

scatter_wind(xs=[1, 1, 2, 2], ys=[1, 2, 1, 2], us=[10, 10, -10, -10], vs=[10, -10, -10, 10], filename="scatter-path3.png")

scatter-path3.png

About

Draw wind barbs using Makie.scatter!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages