Re: [Matplotlib-users] imshow: axis not natural

2008-02-22 Thread Piotr Zolnierczuk
I guess it was a FAQ :) The correct way - after experimenting with imshow options - is to transpose the data and use origin='lower' option imshow(c.T,interpolation='nearest',origin='lower') Piotr - Original Message

[Matplotlib-users] imshow: axis not natural

2008-02-22 Thread Piotr Zolnierczuk
Hi, it is probably a faq - but I could not find it anywhere. I would like to plot a 2D distribution (2D histogram) of some data using a 2D numpy.array that contains my data: c[ix,iy] When I plot it via imshow the x axis points downwards and the y axis point to the left. What I want is that the