Rectangle plot in 2d using the grid package

rect_2d_grid(
  zargs,
  loc = c(0.5, 0.5),
  width = 1,
  height = 1,
  group... = list(cex = 0.66),
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

loc

(x,y)-location of the rectangle

width

rectangle width as a fraction of 1

height

rectangle height as a fraction of 1

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)

Author

Marius Hofert and Wayne Oldford