Hi Margherita,

On Wednesday 04 June 2008 18:01:47 Margherita Vittone wiersma 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.

First of all I cannot confirm your observation with the online version of the 
example at
http://matplotlib.sourceforge.net/examples/pylab/date_demo_convert.py

Maybe the function "fig.autofmt_xdate" is not included in your version of the 
example. 
With that function you have many possibilities to change the x-date-format, 
e.g.  fig.autofmt_xdate(bottom=0.3, rotation=45)
or you can extend the space between the axes and the border of the figure  
yourself using
subplots_adjust(bottom=0.2)

best regards
Matthias

-------------------------------------------------------------------------
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

Reply via email to