Re: [Matplotlib-users] AxesGrid and add_axes

2010-10-18 Thread Jae-Joon Lee
While you cannot add an axes to another axes, you can set position of an axes "relative to" another axes. The threads below show simple approaches. http://thread.gmane.org/gmane.comp.python.matplotlib.general/16373 http://old.nabble.com/embedding-figures-inside-another-%28coordinates%29-td2282612

Re: [Matplotlib-users] AxesGrid and add_axes

2010-10-18 Thread Jae-Joon Lee
A figure is a figure and an axes is an axes. They are NOT interchangeable. The AxesGrid essentially creates a list of axes. As you may already know, only figure class has an add_axes method. And axes can only be added to a figure. You cannot add an axes to another axes. Since I have no idea what

[Matplotlib-users] AxesGrid and add_axes

2010-10-18 Thread Radek Machulka
Hi guys, I made a class which create a special plot in the parent figure (matplotlib.pyplot.figure) given as a argument to the __init__ method. To show more than one instance of this class in the matrix I make a grid (mpl_toolkits.axes_grid.AxesGrid) and initialize the class with proper element