Label plot in 1d using the grid package

label_1d_grid(
  zargs,
  loc = c(0.5, 0.5),
  label = NULL,
  cex = 0.66,
  box = FALSE,
  box.width = 1,
  box.height = 1,
  draw = FALSE,
  ...
)

Arguments

zargs

argument list as passed from zenplot()

loc

(x,y)-location in [0,1]^2; 0 corresponds to left, 1 to right (in the direction of the path)

label

label to be used

cex

character expansion factor

box

logical indicating whether a box should be drawn around the text

box.width

width of the box

box.height

height of the box

draw

logical indicating whether drawing should take place

...

additional arguments passed to gpar()

Value

grob (invisibly)

Author

Marius Hofert and Wayne Oldford