On 03/15/2011 10:23 AM, Tom Dimiduk wrote: > It appears to me that when imshow tells you that the mouse cursor is at > x=50, y=100 > > That corresponds to array element > im[100, 50] > > Is there a reason imshow does not have x be the first coordinate of the > array as I would think of as conventional usage?
That is not conventional usage. Instead, for images, it common for the image to correspond to a printout of memory, using the C convention. Hence the column index is X, and incrementing the row index yields the next line down on the page, thereby corresponding to a decrease in the Y coordinate. Eric > > Tom ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users