Learn R Programming

gridify (version 0.7.4)

show,gridifyClass-method: Show method for gridifyClass

Description

Method for showing a gridifyClass object.

Usage

# S4 method for gridifyClass
show(object)

Value

The object with all the titles, subtitles, footnotes, and other text elements around the output is printed in the graphics device. A list is also printed to the console containing:

  • the dimensions of the layout

  • where the object is located in the layout

  • the size of the margin

  • any global graphical parameters

  • the list of elements cells and if they are filled or empty

Arguments

object

A gridifyClass object.

See Also

gridify()

Examples

Run this code
g <- gridify(
  object = ggplot2::ggplot(data = mtcars, ggplot2::aes(x = mpg, y = wt)) +
    ggplot2::geom_line(),
  layout = complex_layout()
)
show(g)

Run the code above in your browser using DataLab