This seems like a very simple question, but what is the easiest way to create a stacked area plot in Makie? I can’t seem to find that in the (very good) tutorials and documentation.
A short example in PlotlyJS:
using PlotlyJS
x = collect(0:10)
y1 = x
y2 = ones(size(x))
t1 = scatter(x=x, y=y1, stackgroup="one")
t2 = scatter(x=x, y=y2, stackgroup="one")
plot([t1, t2])
I understand I can get to the same result by using band
in Makie and stacking the values myself, but I am probably missing an easier way to achieve that.