On Friday 23 June 2006 8:12 pm, Johan Fredrik Øhman wrote: > Hi, > > I made a plot where the values on the X-axis are dates, "JUN, JUL, > AUG.. etc ". To make them fit better, I have rotated the text using > setp(labels, rotation=45, size=8), the problem is that the text is > "clipped" in bottom. How can I expand the boundries? Thanks !! >
Instead of this... > ax = subplot(111) Try this... fig = figure(num=1, figsize=(2,2)) ax = fig.add_axes([left, bottom, width, height]) Start with left=0.1, bottom=0.1, width=0.8, height=0.8 and see how that looks. Adjust the values of bottom and/or height until your labels are no longer clipped. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users