is there a way to draw curves with arrowheads in a convenient way?
I did not find anything relevant in the doc.center, nor in the group
archives.
Istvan Zachar
Arrow[] is just like Line[], i.e. it can have any number of points.
Just generate the list of points for the curve, then wrap it in Arrow[].
Graphics[Arrow[{{0, 0}, {0, 1}, {1, 1}}]]
Arrow[] can act as a wrapper for Line or Tube Primitives. These Lines or
Tubes can consist of arbitary segments (e.g. approximating a curve). Or
you can use Arrow[pts] directly...
Arrow[Tube[
Table[{Cos[phi], Sin[phi], .2 phi}, {phi, 0, 10,
0.1}]]] // Graphics3D
Regards,
Yves
Istv=C3=A1n schrieb:
>is there a way to draw curves with arrowheads in a convenient way? I
>did not find anything relevant in the doc.center, nor in the group
>archives.
It is certainly possible to draw curves with arrowheads. For example,
Show[Graphics@{Circle[{0, 0}, .5, {0, Pi/2}],
Arrow[{{.5, 0}, {.5, -.1}}, .1]}]
Thanks again
Istvan