Description Usage Arguments Details
Create a label with background
1 2 3 4 5 6 7 8 9 10 11 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.