powered by
Stamp plots with a label, such as good, bad, or ugly.
stamp( p, label, color = "black", alpha = 1, vjust = 1.1, hjust = 1, size = 14, family = "", fontface = "bold", clip = "on", colour )stamp_good(p, ...)stamp_bad(p, ...)stamp_wrong(p, ...)stamp_ugly(p, ...)
stamp_good(p, ...)
stamp_bad(p, ...)
stamp_wrong(p, ...)
stamp_ugly(p, ...)
The plot to stamp
The text label used for the stamp
The color of the stamp
Transparency level of the stamp
Horizontal and vertical adjustment of the label
Font size
Font family
Font face
Should figure be clipped (default is "on")
Arguments handed off to stamp().
stamp()
library(ggplot2) p <- ggplot(iris, aes(x = Sepal.Length, y = Sepal.Width)) + geom_point(aes(color = factor(Petal.Width))) stamp_bad(p + guides(color = "none")) stamp_ugly(p)
Run the code above in your browser using DataLab