Learn R Programming

zenplots (version 1.0.6)

label_2d_graphics: Label plot in 2d using R's base graphics

Description

Label plot in 2d using R's base graphics

Usage

label_2d_graphics(
  zargs,
  loc = c(0.98, 0.05),
  label = NULL,
  adj = 1:0,
  box = FALSE,
  add = FALSE,
  group... = NULL,
  plot... = NULL,
  ...
)

Value

invisible()

Arguments

zargs

argument list as passed from zenplot()

loc

(x,y)-location (in (0,1)^2) of the center of the rectangle

label

label to be used

adj

x (and optionally y) adjustment of the label

box

logical indicating whether a box should be drawn

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 rect()

Author

Marius Hofert and Wayne Oldford

See Also

Other default 2d plot functions using R's base graphics: arrow_2d_graphics(), axes_2d_graphics(), density_2d_graphics(), group_2d_graphics(), points_2d_graphics(), qq_2d_graphics(), rect_2d_graphics()

Other default 2d plot functions: arrow_2d_graphics(), arrow_2d_grid(), arrow_2d_loon(), axes_2d_graphics(), axes_2d_grid(), 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_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()