Arrange 'Grobs' in Tables

Tools to make it easier to work with "tables" of 'grobs'.

Travis-CI Build Status CRAN_Status_Badge Coverage Status

gtable provides internal tools used to draw ggplot2 graphics.


gtable 0.2.0

  • Switch from preDrawDetails() and postDrawDetails() methods to makeContent() and makeContext() methods (@pmur002, #50). This is a better approach facilitiated by changes in grid. Learn more at

  • Added a file to track changes to the package.

  • Partial argument matches have been fixed.

  • Import grid instead of depending on it.

gtable 0.1.2

  • print.gtable now prints the z order of the grobs, and it no longer sort the names by z order. Previously, the layout names were sorted by z order, but the grobs weren't. This resulted in a mismatch between the names and the grobs. It's better to not sort by z by default, since that doesn't match how indexing works. The zsort option allows the output to be sorted by z.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.