Designed for labelling figures in the corner with 'A', 'B', and so on. Finds the coordinates for you.
1 2 | add_corner_label(txt, where, inset = 0.08, inset.x = inset,
inset.y = inset, log.y = FALSE, log.x = FALSE, ...)
|
1 2 3 4 5 6 | o <- par(mfrow=c(1,2))
with(iris, {
plot(Sepal.Width, Sepal.Length, panel.last=add_corner_label("A","topleft"))
plot(Petal.Width, Petal.Length, panel.last=add_corner_label("B","topleft"))
})
par(o)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.