Build a plot with all the usual bits and pieces.Source:
This function builds all grobs necessary for displaying the plot, and
stores them in a special data structure called a
This object is amenable to programmatic manipulation, should you want
to (e.g.) make the legend box 2 cm wide, or combine multiple plots into
a single display, preserving aspect ratios across the plots.
plot data generated by
for functions that contain the complete set of steps for generating
a ggplot2 plot.