This generic function takes an object (typically a plot) and performs all necessary steps to transform it into a graphical object that can be rendered in a grid-based layout.
This generic function takes an object (typically a plot) and performs all necessary steps to transform it into a graphical object that can be rendered in a grid-based layout.