system
1
Hi,
I have a problem with subplot_adjust but I don't know if it's a bug or because
I didn't understand how to use it...
I would like to create a 2 by 3 plots without space between the subplot and I
can't arrive to manage it...
Is the results of the next script is normal?
import pylab
fig1 = pylab.figure()
fig1.subplots_adjust(wspace=0,hspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
fig2 = pylab.figure()
fig2.subplots_adjust(wspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
fig3 = pylab.figure()
fig3.subplots_adjust(hspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
pylab.show()
Thanks,
N.
Try putting the subplots_adjust call after you have made all your subplots in a given figure.
Subplots_adjust operates on a set of axes that are already in the figure--it does not set a parameter to be used later.
Eric
humufr@...136... wrote:
ยทยทยท
Hi,
I have a problem with subplot_adjust but I don't know if it's a bug or because I didn't understand how to use it...
I would like to create a 2 by 3 plots without space between the subplot and I can't arrive to manage it...
Is the results of the next script is normal?
import pylab
fig1 = pylab.figure()
fig1.subplots_adjust(wspace=0,hspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
fig2 = pylab.figure()
fig2.subplots_adjust(wspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
fig3 = pylab.figure()
fig3.subplots_adjust(hspace=0)
pylab.subplot(231)
pylab.subplot(232)
pylab.subplot(233)
pylab.subplot(234)
pylab.subplot(235)
pylab.subplot(236)
pylab.show()
Thanks,
N.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users