Hi Jae-Joon, thanks for the reply. On Thu, Mar 26, 2009 at 02:51, Jae-Joon Lee <lee.j.j...@gmail.com> wrote: > You need to adjust the keyword arguments, such as head_width, etc. The
But shouldn't the default arrow be a little bit "nicer" than it's now? :) > arrow command itself is poorly documented and its keyword arguments > are explained in > matplitlib.patches.FancyArrow. Ah, that's why even in pyploy.arrow() I could'nt find eny reference to head_width & friends. In case I have some time to share on improve arrow() docs, what docs should I look to? and changing 'doc/api/pyplot_api.rst' is the right place to achieve it? > However, I recommend you to use > annotate command instead of arrow (you can give empty string if you > just need an arrow). For example, > > annotate("", (0.2, 0.2), (0.4, 0.4), > arrowprops=dict(arrowstyle="->")) > > more examples, > > http://matplotlib.sourceforge.net/examples/pylab_examples/annotation_demo.html > http://matplotlib.sourceforge.net/examples/pylab_examples/annotation_demo2.html I already treated annotation, but I would like to give the readers (of the book) a much wider toolbox, so introducing bare arrows after annotations seems straigthforward. > Annotate does not adjust the xlim and ylim of your axes for you, thus > it is your responsibility. Yep, already noticed :D Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ------------------------------------------------------------------------------ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users