tda_pl_axes draws both axes together, at the plot's boundary.
tda_pl_axis draws one axis at a time and, via at, can place
it anywhere in the plot rather than only at the boundary – TDA's
technique for a second x or y axis (e.g. a top axis in different units
from the bottom one), which tda_pl_axes alone cannot reach.
Usage
tda_pl_axis(
p,
which = c("x", "y"),
sc = NULL,
ic = NULL,
lty = NULL,
lw = NULL,
fs = NULL,
tl = NULL,
fmt = NULL,
at = NULL,
dir = NULL,
...
)Arguments
- p
a
tda_pssession.- which
"x"or"y", which axis to draw.- sc, ic, lty, lw, fs, tl, fmt
as in
tda_pl_axes, for this one axis.- at
the axis line's endpoints,
c(xa, ya, xb, yb)in data units, when it is not simply the plot's boundary (TDA'splxa(...) = xa,ya,xb,ybright-hand side). Omit for an ordinary axis at the plot boundary.- dir
which side of the axis line the tick labels are written on (TDA's
dir=); only meaningful together withat.- ...
further options for
plxa/plya.