Axes arrows in 2d using R's base graphics

axes_2d_graphics(
  zargs,
  length = 0.1,
  eps = 0.04,
  code = 2,
  xpd = NA,
  add = FALSE,
  group... = NULL,
  plot... = NULL,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

length

length of the arrow head

eps

distance by which the axes are moved away from the plot region

code

integer code determining the kind of arrows to be drawn; see ?arrows

xpd

logical or NA, determining the region with respect to which clipping takes place; see ?par

add

logical indicating whether this plot should be added to the last one

group...

list of arguments passed to group_2d_graphics (or NULL)

plot...

additional arguments passed to plot_region()

...

additional arguments passed to points()

Value

invisible()

Note

Inspired by https://stat.ethz.ch/pipermail/r-help/2004-October/059525.html

Author

Marius Hofert and Wayne Oldford