library(ggplot2)
ggplot(mtcars, aes(cyl, mpg)) + geom_point() ->p
p
p + coord_scalebar( "ms", "pA" ) + theme_scalebar()
p + ggScalebar(" min", " nA")
p + ggScalebar(" min", " nA", xlab.pos="t")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.