From: Jean-Baptiste C. <Jea...@de...> - 2004-03-18 11:51:49
|
S=E6ll ! I followed you advice to use directly axes to define my subplots fig =3D Figure(figsize=3D(8,4), dpi=3D100) #ax =3D Subplot(fig, 211) ax =3D Plot.axes([0.1,0.3,0.8,0.7]) fig.add_axis(ax) #mrks =3D Subplot(fig, 212) mrks =3D Plot.axes([0.1,0.1,0.8,0.15], axisbg=3D'c') fig.add_axis(mrks) However,unlike in your axes_demo.py, my 2 axes are not linked to the size o= f the window and do not resize with it ! Is there a flag to turn on to allow my manually created axes to behave like= Subplots ? Takk Kv. Jean-Baptiste > - Can I change the size taken by each of the Suplots ?=20 >=20 > Just use axes. Subplot derives from Axes. With axes, you can set the > size of your subplot with a rect [left, bottom, width, height] >=20 > http://matplotlib.sourceforge.net/matplotlib.matlab.html#-axes > http://matplotlib.sourceforge.net/matplotlib.axes.html > http://matplotlib.sourceforge.net/screenshots.html#axes_demo --=20 ----------------------------- Jea...@de... Department of Statistics deCODE genetics Sturlugata,8 570 2993 101 Reykjav=EDk |