Hello all, I am struggling to improve the layout of these subplots. You can see that the x tick labels on the left subplot are crunched. I simply want to stretch the x axis a bit in order to spread out the x ticks. Do you have any suggestions?
Thanks! Neil ----- Here is my code: P.figure() P.subplots_adjust(wspace=0.4) P.subplot(121) P.hist([el_mean_diff,ln_mean_diff],bins=[-.7,-.6,-.5,-.4,-.3,-.2,-.1,0,.1,.2,.3,.4,.5,.6,.7],color=['red','blue'],align='mid') P.title('a) mean') P.xlabel('Average difference at each grid point (m/s) ') P.ylabel('Number of grid points') P.tick_params(axis='both',direction='out',top='off',right='off',length=2,labelsize='10') P.grid(True) P.subplot(122) P.hist([el_stdv_diff,ln_stdv_diff],bins=[-.5,-.4,-.3,-.2,-.1,0,.1,.2,.3,.4,.5],color=['red','blue'],align='mid') P.title('b) standard deviation') P.xlabel('Average difference at each grid point (m/s) ') P.ylabel('Number of grid points') P.tick_params(axis='both',direction='out',top='off',right='off',length=2,labelsize='10') P.grid(True) P.show() ----
<<inline: histogram.eps>>
------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users