From: Christian M. <mee...@un...> - 2006-04-20 13:49:45
Hi,
I'd like to create subplots where one subplot is bigger than the other, say
subplot(211) should have two time the size in y than subplot(212).
Is there a way to do this?
TIA
Christian
From: John H. <jdh...@ac...> - 2006-04-20 14:14:06
>>>>> "Christian" == Christian Meesters <mee...@un...> writes:
Christian> Hi, I'd like to create subplots where one subplot is
Christian> bigger than the other, say subplot(211) should have two
Christian> time the size in y than subplot(212). Is there a way
Christian> to do this?
The best way to do this is with "axes", not "subplot"
from pylab import axes, show
ax1 = axes([0.1, 0.45, 0.8, 0.5])
ax2 = axes([0.1, 0.1, 0.8, 0.25])
show()
http://matplotlib.sourceforge.net/matplotlib.pylab.html#-axes
See also http://matplotlib.sf.net/examples/axes_demo.py
JDH