Learn R Programming

cowplot (version 0.6.3)

ggdraw: Set up a drawing layer on top of a ggplot

Description

Set up a drawing layer on top of a ggplot

Usage

ggdraw(plot = NULL, xlim = c(0, 1), ylim = c(0, 1))

Arguments

plot
The plot to use as a starting point. Can be either a ggplot2 plot or an arbitrary gtable.
xlim
The x-axis limits for the drawing layer (default is [0, 1]).
ylim
The y-axis limits for the drawing layer (default is [0, 1]).