I’m plotting a series of sub-plots using
Plots. To illustrate things:
x = range(-2pi,2pi,length=100) fig = [plot(x,sin.(x),legend=:top)] push!(fig,plot(x,cos.(x),legend=:top)) plot(fig...)
…which is not what I want. I was hoping that the legend location followed each of the subplots, i.e., that the label was located at the center top of each subplot.
What am I doing wrong?/How can I specify the legend location in each subplot?