|
From: John H. <jdh...@ac...> - 2004-07-22 18:27:17
|
>>>>> "Jeffery" == Jeffery D Collins <Jef...@ve...> writes:
Jeffery> Is there a (convenient) matplotlib(v0.60.2) equivalent to
Jeffery> the matlab imshow(x,y,A), where x and y are 2-tuples
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.
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
|