[Matplotlib-users] xticks vs yticks

2007-10-04 Thread Jan Strube
I'm having some problems understanding the difference between pylab.xticks() and pylab.yticks() Consider the following: > import pylab as P > import numpy as N > > data = N.random.random((10, 10)) > P.matshow(data) > P.xticks([0, 1, 2], ['1', '2', '3']) > P.show() Why does this work, but if I ch

Re: [Matplotlib-users] xticks vs yticks

2007-10-01 Thread Eric Firing
Jan Strube wrote: > Sorry, reposting, because I sent it from the wrong address. > > I'm having some problems understanding the difference between > pylab.xticks() and pylab.yticks() > Consider the following: > > import pylab as P > import numpy as N > > data =

Re: [Matplotlib-users] xticks vs yticks

2007-09-30 Thread Jan Strube
Sorry, reposting, because I sent it from the wrong address. > I'm having some problems understanding the difference between pylab.xticks() > and pylab.yticks() > Consider the following: > > > import pylab as P > > import numpy as N > > > > data = N.random.random((10, 10)) > > P.matshow(data) > > P