forked from tidyverse/ggplot2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathggplot_build.Rd
28 lines (26 loc) · 844 Bytes
/
ggplot_build.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/plot-build.r
\name{ggplot_build}
\alias{ggplot_build}
\alias{layer_data}
\title{Build ggplot for rendering.}
\usage{
ggplot_build(plot)
layer_data(plot, i = 1L)
}
\arguments{
\item{plot}{ggplot object}
}
\description{
\code{ggplot_build} takes the plot object, and performs all steps necessary
to produce an object that can be rendered. This function outputs two pieces:
a list of data frames (one for each layer), and a panel object, which
contain all information about axis limits, breaks etc. \code{layer_data}
is a helper function which returns the data for a given layer.
}
\seealso{
\code{\link{print.ggplot}} and \code{\link{benchplot}} for
for functions that contain the complete set of steps for generating
a ggplot2 plot.
}
\keyword{internal}