imshow with different axes

Is there a (convenient) matplotlib(v0.60.2) equivalent to

    > the matlab imshow(x,y,A), where x and y are 2-tuples
    > consisting of the bounds of the x and y axes,
    > respectively? I have done some limited axis manipulation
    > using the set_xticklabels and set_yticklabels methods,
    > but that results in an unattractive plot.

If I am understanding you correctly

  >>> imshow(A, extent=(xmin, ymin, xmax, ymax))

See also http://matplotlib.sf.net/matplotlib.matlab.html#-imshow and
http://matplotlib.sf.net/examples/image_demo2.py.

Hope this helps,
JDH

    > Is there a (convenient) matplotlib(v0.60.2) equivalent to
    > the matlab imshow(x,y,A), where x and y are 2-tuples
    > consisting of the bounds of the x and y axes,
    > respectively? I have done some limited axis manipulation
    > using the set_xticklabels and set_yticklabels methods,
    > but that results in an unattractive plot.

I'm getting an unexpected keyword error on 'extent'. Is this keyword
available in the latest release or just in CVS?

···

On Thursday 22 July 2004 12:03 pm, John Hunter wrote:

If I am understanding you correctly

  >>> imshow(A, extent=(xmin, ymin, xmax, ymax))

See also http://matplotlib.sf.net/matplotlib.matlab.html#-imshow and
http://matplotlib.sf.net/examples/image_demo2.py.

Hope this helps,
JDH

--
-----------------------------------------------------------------
Jeffery D. Collins, Ph.D. Vexcel Corp.
Sr. Engineer 1690 38th St.
Voice: (303)583-0228 Boulder, CO 80301
Fax: (303)583-0246 vexcel.com