2
$\begingroup$

My system: Mathematica 11.2

I am missing something major in how to read the on-line help.

Quoting from Mathematica help:

Arrow[curve, …] represents an arrow following the specified curve.

The examples only ever mention splines, Bezier curves and such. But I want to use this feature for a curve I define myself.

For example, for me a circle is a curve. Yet

Graphics[Arrow[Circle[{0,0},1]]]

gives an error.

What does curve mean here?

I am aware of this thread, so I know how to get a circular arc with an arrow at the end. The code there is mostly Greek to me, but for example

Graphics[Arrow[Table[{Cos[t], Sin[t]}, {t, 0, 2 Pi, Pi/24}]]]

will produce a circle with an arrow at the end.

So more specificially: What input will be recognized as a curve by Arrow?

Or, a more meta variant. Where should I start my studies of the manual to avoid banging my head against walls like this?

$\endgroup$
  • 1
    $\begingroup$ In the documentation of Arrow you will find immediatly some explanations concerning "specification of curves" to be used in Graphics and Graphics3D $\endgroup$ – Ulrich Neumann Aug 15 '19 at 12:22
  • $\begingroup$ @UlrichNeumann I cannot find it. The word curve is not clickable. Are you saying that curve is not something like a datatype with a specified structure? $\endgroup$ – Jyrki Lahtonen Aug 15 '19 at 12:37
  • $\begingroup$ I didn't give a"clickable" comment. Look at the answer of m_goldberg (thanks!) $\endgroup$ – Ulrich Neumann Aug 15 '19 at 13:15
  • 1
    $\begingroup$ Jyrki, click on the "Details" section of Arrow. Most of the good info on commands is found in these sections of the docs. $\endgroup$ – Michael E2 Aug 15 '19 at 14:17
  • $\begingroup$ Thanks @MichaelE2. How did I miss that ? $\endgroup$ – Jyrki Lahtonen Aug 15 '19 at 17:28
6
$\begingroup$

From the documentation article on Arrow

The following curve specifications can be used in Graphics:

$\qquad$Line[…]$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ $piecewise line segments
$\qquad$BezierCurve[…]$\ \ \ \ \ \ \ \ $composite Bezier curve
$\qquad$BSplineCurve[…]$\ \ \ \ \ \ $B-spline curve
$\qquad$JoinedCurve[…]$\ \ \ \ \ \ \ \ $joined curve object

$\endgroup$
  • $\begingroup$ Thanks. Finding this was the taxing part. Clicking "Details", as Michael explained is the step I managed to miss.Thinking that "curve" is datatype like "list". $\endgroup$ – Jyrki Lahtonen Aug 15 '19 at 17:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.