subplots



using Makie

scene1, scene2, scene3, scene4 = Scene(), Scene(), Scene(), Scene()

lines!(scene1, rand(10), color=:red)
lines!(scene1, rand(10), color=:blue)
lines!(scene1, rand(10), color=:green)

scatter!(scene2, rand(10), color=:red)
scatter!(scene2, rand(10), color=:blue)
scatter!(scene2, rand(10), color=:orange)

barplot!(scene3, randn(99))

v(x::Point2{T}) where T = Point2f0(x[2], 4*x[1])
streamplot!(scene4, v, -2..2, -2..2)

vbox(hbox(scene2,scene1),hbox(scene4,scene3))