plotk: draws an arc, optionally ending in an arrow, between
each consecutive pair of points – a curved alternative to
tda_pl_lines for showing a directed relationship without
the line hiding what is under it. Fixed along the way: a genuine
rendering bug where a shallow arc (TDA's technique for one – a
small slice of a large-radius circle) was measured by the full
circle's radius when sizing the plot, inflating the bounding box to
fit an almost entirely off-screen circle and shrinking everything
else into a corner; the fix (using the arc segment's actual
extent) is general, not specific to this function.
Arguments
- p
a
tda_pssession.- x, y
coordinates the arcs connect, in order; at least two points.
- curvature
how much the arc bows out, as a fraction of the distance between the two points;
0is a straight line. TDA's ownsc=.- arrow
size of an arrowhead at the end of each arc, as
c(length, width)in mm; no arrowhead if not given.- lty, lw
line type and line width in mm for the arc.
- ...
further options for the command.
