Learn R Programming

zenplots (version 1.0.6)

rect_2d_graphics: Rectangle plot in 2d using R's base graphics

Description

Rectangle plot in 2d using R's base graphics

Usage

rect_2d_graphics(
  zargs,
  loc = c(0.5, 0.5),
  width = 1,
  height = 1,
  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

width

width of the rectangle as a fraction of 1

height

height of the rectangle as a fraction of 1

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(), label_2d_graphics(), points_2d_graphics(), qq_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_graphics(), label_2d_grid(), label_2d_loon(), points_2d_graphics(), points_2d_grid(), points_2d_loon(), qq_2d_graphics(), qq_2d_grid(), rect_2d_grid(), rect_2d_loon()