Label with background
Create a label with background
bglabel( x, y, text, bg = "#cccccc99", margin = 0.5, border = NA, pos = "center", cex = 1, ... )
x, y |
numeric vectors (coordinates) |
text |
a character vector of labels |
bg |
character vector; background color for the labels |
margin |
numeric vector; margin (in percentage of a single character) for width and height around the labels |
border |
character vector; see |
pos |
character vector; position where labels should be placed, relative to the coordinates. Can be one of "topleft", "top", "topright", "left", "center", "right", "bottomleft", "bottom" and "bottomright". |
cex |
numeric vector; cex to be used for drawing the text |
... |
any further parameters are passed to the |
Creates a label with a background, a little extra margin (if necessary) etc.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.