On Wed, Jun 4, 2008 at 11:01 AM, Margherita Vittone wiersma <[EMAIL PROTECTED]> wrote: > Hi all, > i have a plot on which the x axix has timestamps info; i would like to > control the size > of the edge or border (not sure whta is the proper word) so the there is > enough space between > the real plot and the outer border so that the x labels are not cut out. I > rotate the xlabel also > but still i don't have enough space; how do i control that feature? Even in > one of the demo examples > i see the same problem, example in date_demo_convert.py where you can't see > the x full lable.
What you are asking for is controlled by the "subplots_adjust" parameter fig.subplots_adjust(bottom=0.2) but for dates in particular we have a helper function which: * adjusts the bottom * rotates the ticks * right aligns them Try fig.autofmt_xdate() with recent matplotlib releases. JD ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users