shadeText | R Documentation |
Plot text labels with a different color shadow or faked outline. Function taken from TeachingDemos
package.
shadeText(
x,
y = NULL,
labels,
col = "white",
bg = "black",
theta = seq(pi/4, 2 * pi, length.out = 8),
r = 0.1,
...
)
pkShadowText(
x,
y = NULL,
labels,
col = "white",
bg = "black",
theta = seq(pi/4, 2 * pi, length.out = 8),
r = 0.1,
...
)
x |
x position |
y |
y position |
labels |
text labels |
col |
foreground color |
bg |
shadow/outline color |
theta |
angle at which to plot the shadow |
r |
distance of the shadow |
... |
any other arguments for text function |
Vector with hex colors strings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.