Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-29 Thread Sterling Smith
Chao, From your description, it is clear that you are using a very customized application of axes placement and design. The only method that I see for replacing your current setup with Subplots (I use the upper case to denote the instances of the class, which do respond to the

Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-27 Thread ChaoYue
Hi, thanks. the attached is what I achieved so far. Looks quite nice. each subplot visible now actually contains two mat.axes.Axes object (with bottom and top spines invisible) which is created by using the fig.add_axes, before the place occupied by the two axes now is actually only one single

Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-26 Thread Sterling Smith
Chao, You are right, fig.add_subplot does not support precise positioning. Why don't you send a picture of a sample layout you have obtained with add_axes? -Sterling On Jul 26, 2013, at 1:26AM, ChaoYue wrote: Dear Sterling, thanks for your answer. The idea is that I would like to add a

[Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-25 Thread Chao YUE
Dear all, First I make some subplots using the plt.subplots command, then I use mat.figure.Figure.delaxes to delete the axes, and add some small new ones in the same space by using mat.figure.Figure.add_axes, but I find after rendering the figure in the interative window, I cannot adjust the

Re: [Matplotlib-users] how to make mat.figure.Figure.add_axes generated axes adjustable with the interactive tool?

2013-07-25 Thread Sterling Smith
Chao, plt.subplots returns a figure instance. Can you use the add_subplot method of that figure instance to make your new axes? If so, then I think that they should respond to the new requests for left/right/bottom/wspace space. -Sterling On Jul 25, 2013, at 10:06AM, Chao YUE wrote: Dear