Re: [Matplotlib-users] tick locations in new matshow()

2007-03-28 Thread Eric Firing
Suresh Pillai wrote: > The new matshow() seems to like ticks every 4 units (or multiples of 4 > for larger scales) rather than the normal, more desirable every 5 units. > > Compare: > > import pylab > matrix = pylab.rand(30,30) > pylab.matshow(matrix) > pylab.show() > > with > > import pylab >

[Matplotlib-users] tick locations in new matshow()

2007-03-28 Thread Suresh Pillai
The new matshow() seems to like ticks every 4 units (or multiples of 4 for larger scales) rather than the normal, more desirable every 5 units. Compare: import pylab matrix = pylab.rand(30,30) pylab.matshow(matrix) pylab.show() with import pylab matrix = pylab.rand(30,30) pylab.imshow(matrix)