Rectangle plot in 2d using the interactive loon package

rect_2d_loon(
  zargs,
  loc.x = NULL,
  loc.y = NULL,
  color = NULL,
  fill = NULL,
  lwd = 1,
  linkingGroup = NULL,
  showLabels = FALSE,
  showScales = FALSE,
  showGuides = FALSE,
  baseplot = NULL,
  parent = NULL,
  group... = NULL,
  ...
)

Arguments

zargs

The argument list as passed from zenplot()

loc.x

x-location of rectangle

loc.y

y-location of rectangle

color

Colour of the rectangle outline

fill

Colour of the rectangle interior

lwd

line width for rectangle outline

linkingGroup

The initial linking group (ignored)

showLabels

Logical determining whether axis labels are displayed

showScales

Logical determining whether scales are displayed

showGuides

Logical determining whether the background guidelines are displayed

baseplot

If non-null the base plot on which the plot should be layered

parent

The tk parent for this loon plot widget

group...

A list of arguments passed to group_2d_loon (or NULL)

...

Additional parameters passed to loon::l_layer_text(...)

Value

The base loon::l_plot with the added text layer

Author

Marius Hofert and Wayne Oldford