rtsplot.corner.label {rtsplot}R Documentation

Plot corner label

Description

Plot corner label, based on the [text at the upper left corner outside of the plot region](http://r.789695.n4.nabble.com/text-at-the-upper-left-corner-outside-of-the-plot-region-td885675.html)

Usage

rtsplot.corner.label(
  label = NULL,
  col = "black",
  x = -1,
  y = 1,
  xoffset = NA,
  yoffset = NA,
  space = c("plot", "figure"),
  cex = 1,
  border = NA
)

Arguments

label

label

col

label color

x

x location, defaults to -1

y

y location, defaults to 1

xoffset

x offset, defaults to NA

yoffset

y offset, defaults to NA

space

coordinate space, can be "plot" or "figure", defaults to "plot"

cex

font size, defaults to 1

border

border color, defaults to NA - no color

Value

nothing

Examples

 rtsplot.theme.set(legend.bg.col=grDevices::adjustcolor('orange', 200/255))
 plot(rnorm(20), rnorm(20))

 rtsplot.corner.label('test1', y=-1, space='figure')
 rtsplot.corner.label('test2', y=1, space='figure')
 rtsplot.corner.label('test3', x=1, space='figure')
 rtsplot.corner.label('test4', x=1, y=-1, space='figure')
 rtsplot.theme.set(legend.bg.col=grDevices::adjustcolor('white', 50/255))


[Package rtsplot version 0.1.5 Index]