Re: [Matplotlib-users] subplots of matshow

2006-12-04 Thread TheSaint 555
That worked. Thanx a lot Eric. I just had to also add interpolation='nearest' in imshow() and it worked just like matshow did. >From: Eric Firing <[EMAIL PROTECTED]> >To: TheSaint 555 <[EMAIL PROTECTED]> >CC: matplotlib-users@lists.sourceforge.net >Subject:

Re: [Matplotlib-users] subplots of matshow

2006-12-04 Thread Eric Firing
def matshow(*args,**kw): """Display an array as a matrix in a new figure window. Matshow simply is not designed to work with subplots; it is a wrapper around imshow() that creates a new figure. You should be able to do what you want by using imshow() directly in place of matshow with som

[Matplotlib-users] subplots of matshow

2006-12-04 Thread TheSaint 555
I am trying to create subplots with matshow. However, my code seems to be displaying only the last matshow image and two blank plots in separate figures. Can someone tell me what I am doing wrong? from matplotlib.pylab import * def SliceMat(N, i): slice = zeros( (N, N) ) for j in range(