Re: [Matplotlib-users] merge two axes

2010-10-22 Thread Stan West
> From: Ruggero [mailto:giurr...@gmail.com] > Sent: Thursday, October 21, 2010 17:59 > > I want to merge axes from f1 and f2 in a unique axes (withou splitting > the figure). For example if f1 produces a line and f2 produces another > line I want to see two lines in the same plot at the end. If

[Matplotlib-users] merge two axes

2010-10-21 Thread Ruggero
Suppose I have two functions returning axes: def f1(): f = plt.figure() ax = f.add_axes(111) ax.plot() ax.lengend() return ax def f2(): similar to f1 now I have a figure main_fig = plt.fig() I want to merge axes from f1 and f2 in a unique axes (withou splitting