I have a figure of six subplot. I want to make one subplot in such a way that I have to plot two data set with common x-axis with the bottom plot is 30% of the subplot and the upper plot is 70% of the subplot. How can I do that? I tried
x = arange(10)
rect1 = [0.1, 0.1, 0.8, 0.2]
rect2 = [0.1, 0.3, 0.8, 0.5]
But how can I do this in a subplot?