Re: [Matplotlib-users] imshow y axis question

2007-03-02 Thread Suresh Pillai
On Thu, 1 Mar 2007, Eric Firing wrote: > I agree, and this is a problem with spy also. If I remember, I will fix it. > It is only a minor annoyance, so it is low priority, though. > > There is a difference in the way the axes are labeled between spy and > matshow, and I would like to change m

Re: [Matplotlib-users] imshow y axis question

2007-03-01 Thread Eric Firing
Suresh Pillai wrote: > Great, matshow() works for my requirements. > > Although, I must comment that its placement of tickbars seems > inappropriate for a matrix visualisation. For example, for the following > simple example: > > import pylab > > matrix = pylab.array([[1,2,3],[4,5,6],[1,1,4]]

Re: [Matplotlib-users] imshow y axis question

2007-03-01 Thread Suresh Pillai
Great, matshow() works for my requirements. Although, I must comment that its placement of tickbars seems inappropriate for a matrix visualisation. For example, for the following simple example: import pylab matrix = pylab.array([[1,2,3],[4,5,6],[1,1,4]]) pylab.matshow(matrix, cmap=pylab.cm.g

Re: [Matplotlib-users] imshow y axis question

2007-03-01 Thread Eric Firing
Suresh Pillai wrote: > I am using imshow to visualise matrices. When I use align='upper' > (default), the origin is still displayed in the lower left corner on the > axes - i.e. the y-axis is wrong. The data is plotted correctly with the > origin in the upper left corner. > > Seems to be a bu

[Matplotlib-users] imshow y axis question

2007-03-01 Thread Suresh Pillai
I am using imshow to visualise matrices. When I use align='upper' (default), the origin is still displayed in the lower left corner on the axes - i.e. the y-axis is wrong. The data is plotted correctly with the origin in the upper left corner. Seems to be a bug? Cheers, Suresh -