Sæll !
I followed you advice to use directly axes to define my subplots
fig = Figure(figsize=(8,4), dpi=100)
#ax = Subplot(fig, 211)
ax = Plot.axes([0.1,0.3,0.8,0.7])
fig.add_axis(ax)
#mrks = Subplot(fig, 212)
mrks = Plot.axes([0.1,0.1,0.8,0.15], axisbg='c')
fig.add_axis(mrks)
However,unlike in your axes_demo.py, my 2 axes are not linked to the size of 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 ?
Just use axes. Subplot derives from Axes. With axes, you can set the
size of your subplot with a rect [left, bottom, width, height]http://matplotlib.sourceforge.net/matplotlib.matlab.html#-axes
http://matplotlib.sourceforge.net/matplotlib.axes.html
http://matplotlib.sourceforge.net/screenshots.html#axes_demo
--
-----------------------------
Jean-Baptiste.Cazier@...15...
Department of Statistics
deCODE genetics Sturlugata,8
570 2993 101 Reykjavík