Re: [Matplotlib-users] plot a line with an arrow

2009-07-15 Thread Jae-Joon Lee
Check the gallery where a few example shows you how to draw arrows. My recommendation is to use "annotate" with empty string. e.g., annotate("", (1,2), xytext=(5,2), arrowprops=dict(fc="b")) http://matplotlib.sourceforge.net/api/pyplot_api.html?highlight=annotate#matplotlib.pyplot.annotate How

[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