On Sat, Sep 17, 2011 at 3:33 PM, Klonuo Umom <klo...@gmail.com> wrote:

> Hm.. it not within matplotlib.pyplot module... needs more digging
> OK, thanks
>
> On Sat, Sep 17, 2011 at 10:27 PM, Benjamin Root <ben.r...@ou.edu> wrote:
> >
> > On Sat, Sep 17, 2011 at 3:22 PM, Klonuo Umom <klo...@gmail.com> wrote:
> >>
> >> Thanks for your fast replies.
> >> One more thing if possible: How can I tell xticks() to start at 0 (at
> x-axis start)
> >
> > Maybe what you want is xtick_labels()?  xticks() merely tells mpl where
> on the x-axis you want ticks to show up.  xtick_labels() will tell mpl what
> to label each tick (but won't change how many there are and where they are
> placed).
> >
> > Ben Root
> >
>


Sorry, I am used to working from the axes objects, not from the pyplot
interface.  Most of the axes methods are available to pyplot, but it looks
like Axes.set_xticklabels() is not available to pyplot.

But honestly, I think you are making this harder than it is.  The line being
drawn starts at (0, 0) coordinates.  The plot is correct, and I am not sure
what you are trying to acheive.

Ben Root
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to