On 5/17/07, Mark Bakker <[EMAIL PROTECTED]> wrote: > I tried this on the user's list, but didn't get a response. > I am afraid it is a bug. > I am trying to use FancyArrow to draw an arrow with given length. > The length I use is from 0 to 100. > I specify length_includes_head=True. > This works fine when I specify a width and length. > But when I specify an overhang, the length of the arrow becomes much longer > than 100. > Am I using overhang incorrectly? > Here's a script with the problem:
FancyArrow was written by a colleague of Fernando -- perhaps you an provide a free-standing script that illustrates the problem and Fernando can pass it on to the original author to take a look. JDH > > from pylab import * > from matplotlib.patches import FancyArrow > axis([0,120,0,100]) > ax = gca() > a = FancyArrow( 0, 40, 100, 0, length_includes_head=True, head_width=5, > head_length=5) > ax.add_patch(a) > b = FancyArrow( 0, 60, 100, 0, length_includes_head=True, head_width=5, > head_length=5, overhang=5) > ax.add_patch(b) > draw_if_interactive() > > Thanks, Mark > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel