Setting axes at the origin

Hi,

I'm wondering how to use matplotlib to
plot on axes that intersect at the
origin, as in the following picture:

···

              >
        >
              >
              >(0,0)
----------------------------
              >
              >
              >
              >
              >

Any help will be appreciated

Michael.

Hi,

2007/5/24, Michael Hogue <michael.hogue@...1620...>:

Hi,

I'm wondering how to use matplotlib to
plot on axes that intersect at the
origin, as in the following picture:

              >
              >(0,0)
----------------------------
              >

For example with:

  axis((-1,1,-1,1))
  hlines(0,-1,1)
  vlines(0,-1,1)

Regards,

    ~ Antonio