I would like to make a single plot which contains two graphs on top of each other like the plot below (with frames, axes labels and the legend on the top right corner)
I read this question and tried to implement it, but it did not work because it removes the labels of the axes when I use ImagePadding
. Could somebody give me an example of how to do this?