Label plot in 2d using the interactive loon package

label_2d_loon(
  zargs,
  loc = NULL,
  label = NULL,
  rot = 0,
  size = 8,
  box = FALSE,
  color = NULL,
  linkingGroup = NULL,
  showLabels = FALSE,
  showScales = FALSE,
  showGuides = FALSE,
  baseplot = NULL,
  parent = NULL,
  group... = NULL,
  ...
)

Arguments

zargs

The argument list as passed from zenplot()

loc

The location of the label

label

The label to be used

rot

The rotation of the label

size

The font size

box

A logical indicating whether the label is to be enclosed in a box.

color

Color of the label (and of box when box = TRUE).

linkingGroup

The initial linking group

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