Places a plot somewhere onto the drawing canvas. By default, coordinates run from
0 to 1, and the point (0, 0) is in the lower left corner of the canvas.
library(ggplot2)
# make a plotp <- ggplot(data.frame(x = 1:3, y = 1:3), aes(x, y)) +
geom_point()
# draw into the top-right corner of a larger plot areaggdraw() + draw_plot(p, .6, .6, .4, .4)