Makie: How to define subscenes and/or different plot windows

from the documentation:

data = rand(100, 50)
p1 = heatmap(data, interpolate = true)
p2 = heatmap(data, interpolate = false)
scene = AbstractPlotting.vbox(p1, p2)
text!(campixel(p1), "Interpolate = true", position = widths(p1) .* Vec(0.5, 1), align = (:center, :top), raw = true)
text!(campixel(p2), "Interpolate = false", position = widths(p2) .* Vec(0.5, 1), align = (:center, :top), raw = true)
scene
1 Like