Re: [Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-30 Thread Maxime Bois
Hi Jae-Joon This method is also great and it's working with plt.subplot: from pylab import * subplot(221) subplot(222) subplot(223) subplot(224) plot([0.5, 0.5], [0, 1], color='lightgreen', lw=5,transform=gcf().transFigure, clip_on=False) plot([0, 1], [0.5, 0.5], color='lightgreen', lw=5,transf

Re: [Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-30 Thread Jae-Joon Lee
You may do this without creating an extra axes (ax0). Try something like ax4.plot([0.5, 0.5], [0, 1], color='lightgreen', lw=5, transform=gcf().transFigure, clip_on=False) Regards, -JJ On Fri, Apr 30, 2010 at 3:56 AM, Matthias Michler wrote: > On Wednesday 28 April 2010 15:07:21 Maxi

Re: [Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-30 Thread Maxime Bois
Hi Matthias, This is exactly what I wanted to do (excepted for the colors of the lines which are quite horrible :-) ) Thanks a lot Cheers, Maxime On 04/30/2010 09:56 AM, Matthias Michler wrote: On Wednesday 28 April 2010 15:07:21 Maxime Bois wrote: Hi all, I have created a figure wit

Re: [Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-30 Thread Matthias Michler
On Wednesday 28 April 2010 15:07:21 Maxime Bois wrote: > Hi all, > > I have created a figure with 4 subplots (2x2) and I want to separate > them with a vertical and horizontal lines (see the green lines on my > figure edited by Gimp) but I don't know if it's possible (I haven't find > any example o

[Matplotlib-users] Horizontal and vertical lines between subplots

2010-04-29 Thread Maxime Bois
Hi all, I have created a figure with 4 subplots (2x2) and I want to separate them with a vertical and horizontal lines (see the green lines on my figure edited by Gimp) but I don't know if it's possible (I haven't find any example of that). I am using Python 2.5.4 and matplotlib version 0.99