On Wed, Dec 17, 2008 at 1:49 AM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote:
>
> This is a correct way indeed.
> I believe that you considered it as a plain line because the arrow
> head is too small.
> You need to adjust the mutation_scale parameter. Try
>
> c = matplotlib.patches.FancyArrowPatch((0.2, 0.2), (0.5, 0.5),
> arrowstyle="->", mutation_scale=20.)
>
> Maybe the defaults need to be changed.
Great. Is there a way to draw filled in arrow heads?
I'm thinking of arrows like those made by graphviz, such as,
http://www.graphviz.org/Gallery/directed/fsm.html
The closest I can seem to get is like this,
c = matplotlib.patches.FancyArrowPatch((0.2, 0.2), (0.5, 0.5),
arrowstyle="simple", linewidth=0.1, fc='k',mutation_scale=20.)
(a) I don't know if this is possible if the whole arrow is implemented as a
single polygon (i.e. to draw line with a triangle head), and (b) I'm a bit
confused about the kwargs to the different things like axes.arrow,
FancyArrowPatch, ArrowStyle, etc. (for example, arrow takes 'headwidth',
but FancyArrowPatch does not.).
Thanks a lot,
Ken
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users