Re: [Matplotlib-users] Create axes instance position relative to another axes instance position??

2009-08-24 Thread Jae-Joon Lee
I think you can just copy the axes_grid.inset_locator.py file and use it after deleting a few lines of code that gives some ImportError. However, here is a some related post. http://www.nabble.com/embedding-figures-inside-another-%28coordinates%29-td22826126.html#a22832238 Just replace the bbox

Re: [Matplotlib-users] Create axes instance position relative to another axes instance position??

2009-08-23 Thread Patrick Marsh
Hi JJ, I'm not sure I understand how to properly set the axe_locator. Below is my snippet of code that I use to create my contourf plot and then create the colorbar. I'm unsure how I would modify it to do as you suggested. Any help would be appreciated. plot = ax.contourf(xc, yc, data,

Re: [Matplotlib-users] Create axes instance position relative to another axes instance position??

2009-08-22 Thread Jae-Joon Lee
What you need is to adjust the axes position of the colorbar at the drawing time (because the axes position of the contour plot is adjusted only during the drawing time). You may do this by properly setting the axe_locator property of the axes. If you're using mpl 0.99, axes_grid toolkit may be he