Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (15 sloc) 542 Bytes
GeomBlank <- proto(Geom, {
default_stat <- function(.) StatIdentity
default_aes <- function(.) aes()
# Documentation -----------------------------------------------
objname <- "blank"
desc <- "Blank, draws nothing"
detail <- "<p>The blank geom draws nothing, but can be a useful way of ensuring common scales between different plots</p>\n"
examples <- function(.) {
qplot(length, rating, data=movies, geom="blank")
# Nothing to see here!
}
draw_legend <- function(., data, ...) {
nullGrob()
}
})
Something went wrong with that request. Please try again.