Skip to contents

Convert a ggplot_build() result to a grab scene

Usage

ggbuild_to_scene(b, width_mm = 150, height_mm = 100)

Arguments

b

A ggplot_build object (from ggplot2::ggplot_build()).

width_mm

Output width in mm. Default 150.

height_mm

Output height in mm. Default 100.

Value

A grab_bag scene ready for render_scene().