Re: [Matplotlib-users] placing a plot on top of an imshow

2009-10-02 Thread Jae-Joon Lee
On Fri, Oct 2, 2009 at 7:30 AM, rafa5 wrote: > > I had to change the inset_locater.py file a little though. In your suggested > code below : > > axins1 = inset_axes(ax, width="100%", height="20%", >                   loc=3, borderpad=0, >                   axes_kwargs=dict(frameon=False) >        

Re: [Matplotlib-users] placing a plot on top of an imshow

2009-10-02 Thread Jae-Joon Lee
On Fri, Oct 2, 2009 at 11:52 AM, Jae-Joon Lee wrote: > The attachment is missing. My bad. There IS an attachment. Again, this is bug is already fixed in svn. Also, If you can, please post a diff file which makes the job a lot easier. Regards, -JJ ---

Re: [Matplotlib-users] placing a plot on top of an imshow

2009-10-02 Thread rafa5
I had to change the inset_locater.py file a little though. In your suggested code below : axins1 = inset_axes(ax, width="100%", height="20%", loc=3, borderpad=0, axes_kwargs=dict(frameon=False) ) the kwarg 'borderpad' was not doing anythin

Re: [Matplotlib-users] placing a plot on top of an imshow

2009-09-30 Thread Jae-Joon Lee
Can you just reuse the ax1 for plotting? I guess that might be the easiest way. With imshow, the location of ax1 is determined at the drawing time, therefore you need a way to adjust the location of ax2 after this happens. Doing this manually requires some internal knowledge of mpl. If you use 0.

[Matplotlib-users] placing a plot on top of an imshow

2009-09-29 Thread rafa5
Hi guys, I'm having problems creating a plot. I attached a crude version that I drew with Gimp to show what I actually want to do with matplotlib http://www.nabble.com/file/p25667058/example2.png example2.png . Basically it boils down to placing an axes instance on top of an existing axes with a