On 26/08/10 01:15, Benjamin Root wrote:
> I believe you are asking why the x axis starts at 2?  This is because 
> matplotlib will automatically set the limits of your plot to show all 
> of your data.  If you can control the axes yourself by calling 
> set_xlim() and/or set_ylim().
>
> ax.set_xlim(0.0, 5.0)
>
> would set the limits of your x axis to 0.0 and 5.0.  You can also do
>
> ax.set_xlim(left=0.0)
>
> to control only the left end of the axis (letting the right end be 
> automatically set).
>
> I hope that helps!
> Ben Root
Thank you it works, but ax.set_xlim(left=0.0) does not work only
ax.set_xlim(0.0) works.


------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to