addLabel | R Documentation |
Place a label in a plot using relative (0:1) coordinates
addLabel(x, y, txt, ...)
x |
x-axis coordinate in the range (0:1); can step outside. |
y |
y-axis coordinate in the range (0:1); can step outside. |
txt |
desired label at ( |
... |
additional arguments passed to the function |
Jon T. Schnute, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
addArrows
, addLegend
local(envir=.PBSmodEnv,expr={
oldpar = par(no.readonly=TRUE)
resetGraph()
addLabel(0.75,seq(from=0.9,to=0.1,by=-0.10),c('a','b','c'), col="#0033AA")
par(oldpar)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.