axes_2d_grid: Axes arrow using the grid package

View source: R/plot2dgrid.R

axes_2d_gridR Documentation

Axes arrow using the grid package

Description

Axes arrow using the grid package

Usage

axes_2d_grid(
  zargs,
  angle = 30,
  length = unit(0.05, "npc"),
  type = "open",
  eps = 0.02,
  group... = list(cex = 0.66),
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

angle

angle of the arrow head (see ?arrow)

length

length of the arrow in [0,1] from tip to base

type

type of the arrow head (see ?arrow)

eps

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

group...

list of arguments passed to group_2d_grid (or NULL)

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Note

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

Author(s)

Marius Hofert and Wayne Oldford

See Also

Other default 2d plot functions using the grid package: arrow_2d_grid(), density_2d_grid(), group_2d_grid(), label_2d_grid(), points_2d_grid(), qq_2d_grid(), rect_2d_grid()

Other default 2d plot functions: arrow_2d_graphics(), arrow_2d_grid(), arrow_2d_loon(), axes_2d_graphics(), axes_2d_loon(), density_2d_graphics(), density_2d_grid(), density_2d_loon(), extract_2d(), group_2d_graphics(), group_2d_grid(), group_2d_loon(), label_2d_graphics(), label_2d_grid(), label_2d_loon(), points_2d_graphics(), points_2d_grid(), points_2d_loon(), qq_2d_graphics(), qq_2d_grid(), rect_2d_graphics(), rect_2d_grid(), rect_2d_loon()


zenplots documentation built on Nov. 8, 2023, 1:10 a.m.