[Matplotlib-users] plotting disjoint horizontal lines

2009-07-13 Thread Afi Welbeck
Hi, I'm a newbie, and I'm trying to plot horizontal lines with the following points: [1,1], [3,1], [2,4] and [4,4]. Also, is there a way of putting them together in lists, (say the pair of points that plot one horizontal line ) for easy plotting? Could anyone please help me with the code? Than

[Matplotlib-users] plot a line with an arrow

2009-07-14 Thread Afi Welbeck
Hi all, I'm a newbie, I'm trying to plot a line with an arrow (arrow in the middle and another with an arrow at the end) with the following points: [1, 2] and [5, 2] Could anyone please help me with the code? Thanks. Harriet A. Welbeck