I've been experimenting with the NonUniformImage class. (Actually I want
*uniform* pixel spacing, but I want the image x and y coordinates to have
the correct *scaling* in the style of Matlab's image(x,y,C). The AxesImage
class, created via pylab.imshow, didn't seem to offer that, so I landed on
NonUniformImage, but if there's a better solution I'd be grateful for
And here's the problem (or bug?): with my Python 2.5.4 and my matplotlib
1.0, I go and run the
gallery demo but I decide that I want the y axis reversed (as is common in
image visualization). So I either call pylab.gca().invert_yaxis() at the
end, or I change one of the lines that says
which I believe is the approved method. However the result I get is
non-sensical: no more image variation in the vertical direction. Can anyone
tell me what, if anything, I'm doing wrong?
Grateful for any hints, --jez
View this message in context: http://old.nabble.com/NonUniformImage%3A-problem-with-axis-reversal-tp29092028p29092028.html
Sent from the matplotlib - users mailing list archive at Nabble.com.