From: Jeffery D. Collins <Jeff.C<ollins@ve...>  20040722 18:45:18

On Thursday 22 July 2004 12:03 pm, John Hunter wrote: > >>>>> "Jeffery" == Jeffery D Collins <Jeff.Collins@...> writes: > > Jeffery> Is there a (convenient) matplotlib(v0.60.2) equivalent to > Jeffery> the matlab imshow(x,y,A), where x and y are 2tuples > Jeffery> consisting of the bounds of the x and y axes, > Jeffery> respectively? I have done some limited axis manipulation > Jeffery> using the set_xticklabels and set_yticklabels methods, > Jeffery> 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? > 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)5830228 Boulder, CO 80301 Fax: (303)5830246 vexcel.com 