Learn R Programming

gganimate (version 0.1)

plot_ggplot_build: Plot a built ggplot object

Description

We needed a customized version of ggplot2's print.ggplot2, because we need to build plots from the intermediate results of ggplot_build rather than from a gg object.

Usage

plot_ggplot_build(b, newpage = is.null(vp), vp = NULL)

Arguments

b
A list resulting from ggplot_build
newpage
draw new (empty) page first?
vp
viewport to draw plot in