Hello, I am trying to plot a 2x3 matrix of (sub)images, with no spacing in
between.

I thought the desired result could be achieved by the following code, but
there is
still blank space (in the vertical-direction) between the subplots:

#--------------
import pylab
from scipy import randn

data=randn(575)
data.shape=(23,25)


fig1 = pylab.figure()

for i in range(6):
  fig1.add_subplot(2,3,i+1)
  pylab.imshow(data)

fig1.subplots_adjust(wspace=0,hspace=0.0)

pylab.show()
#--------------


I guess I am asking in general the proper way to display an NxM matrix of
images with no spaces in between,
as the above code is not working.

Thank you for the help!
-adam.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to