From: Stephen W. <ste...@cs...> - 2005-04-07 19:00:40
|
John Hunter wrote: >>>>>>"Stephen" == Stephen Walton <ste...@cs...> writes: >>>>>> >>>>>> >Does changing the rc param > > image.origin : upper # lower | upper > >to lower help? > > Yes, it makes the image the right way around. I was simply confused because I expected the pixel at (x,y) in the imshow display to be the value of img[x,y]. It appears not to be. I hasten to add MATLAB's worse, as the pixel at (x,y) is actually the value of img[y,x]; MATLAB displays with the first array coordinate increasing downward and the second from left to right. > Stephen> I've tried to look at the source, really, but I feel like > Stephen> I'm *years* away from being enough of a Python hacker to > Stephen> understand matplotlib. > >Hmm, the code's not that bad is it :-) > > I'm sure the code is fine, John, and it's just me. Specifically, if I want to see how matplotlib is doing something, I can't just trace function calls like I'm used to doing with Fortran and C, because there are methods too and I have to find the class which defines those methods to see what's happening. Is there anything like ctags for Python? Steve |