Ken Schutte wrote:
> Hi,
>
> If I display a simple matrix with imshow(), e.g:
>
> a = zeros((3,3))
> a[0,0] = 1
> imshow(a,interpolation='nearest')
>
> the axes extend from 0.0 to 3.0 in such a way that elements are centered
> at 0.5, 1.5,... For example, the point at (x,y)=(.9,.9) is red, whe
Hi,
If I display a simple matrix with imshow(), e.g:
a = zeros((3,3))
a[0,0] = 1
imshow(a,interpolation='nearest')
the axes extend from 0.0 to 3.0 in such a way that elements are centered
at 0.5, 1.5,... For example, the point at (x,y)=(.9,.9) is red, whereas
nearest-interp. should give a[1,1