Description Usage Arguments Details Value Note Author(s) References See Also Examples
This is a usefule function to help text stand out on busy backgrounds like gene networks
1 2 |
x |
A numeric vector of x coordinates |
y |
A numeric vector of y coordinates |
labels |
A character vector to be plotted at the specified coordinates |
col |
The text color |
bg |
The color of the outline |
theta |
The number of shadows to plot |
r |
The radius for the shadows |
... |
Additional plotting arguments |
The function creates its effect by plotting theta shadows at r radius around the text to create the illusion of a text shadow
Adds shadow text to plot
This function was adapted by N. Ari Wijetunga for SMITE.
Greg.Snow <at> imail.org
http://article.gmane.org/gmane.comp.lang.r.general/147787
text, mtext
1 2 3 | plot.new()
addShadowText(x = .5,y = .5,"TEST",col="white",bg="gray")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.