2011/5/5 Sebastian Krieger <sebastian.krie...@usp.br>: > Dear all, > > I have a small question about subplot. I want to avoid creating plot axes > manually using pylab.axes, to create an asymmetrical arrangement of subplots > like the following code in Matlab: > > figure > subplot(2,2,1:2) > text(.5,.5,'subplot(2,2,1:2)',... > 'FontSize',14,'HorizontalAlignment','center') > subplot(2,2,3) > text(.5,.5,'subplot(2,2,3)',... > 'FontSize',14,'HorizontalAlignment','center') > subplot(2,2,4) > text(.5,.5,'subplot(2,2,4)',... > 'FontSize',14,'HorizontalAlignment','center') > > Reference: http://www.mathworks.com/help/techdoc/ref/subplot.html > > Is it possible in matplotlib?
Easier done than explained: import matplotlib.pyplot as plt plt.subplot(121) plt.subplot(222) plt.subplot(224) plt.show() Goyo ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users