From: Brad M. <bra...@gm...> - 2011-09-19 22:32:32
|
Hi, I am trying to do a simple 2x2 box of plots. My code is so far very simple, and simply looks something like this. ax=subplot(221) > > plot(x2cp,y2cp) > ax.set_title('2cP') > ylabel('Displacement') > ax=subplot(222) > plot(x2cb,y2cb) > ax.set_title('2cB') > ax=subplot(223) > plot(x6fp,y6fp) > ax.set_title('6fP') > ax=subplot(224) > plot(x6fb,y6fb) > ax.set_title('6fB') > show() > > But when I do this, the text and numbers from various plots overlap each other and get in the way (I noticed this is a common problem among the images in the matplotlib gallery as well). I have 2 questions: 1). How can I control the spacing, or padding, between the plots so that the numbers don't overlap? 2). Is there a way for me to have a single common y-axis label and x-axis label that runs along the full left-hand side and bottom, respectively? Thanks so much for the help! Brad |