The gridGraphics Package

The gridGraphics package provides a function, grid.echo(), that can be used to convert a plot drawn with the graphics package to a visually identical plot drawn using grid. This conversion provides access to a variety of grid tools for making customisations and additions to the plot that are not possible with the graphics package.

Paul Murrell

CRAN packages used

gridGraphics, lattice, ggplot2, plotrix, maps, gridBase, gridSVG

CRAN Task Views implied by cited packages

Graphics, Multivariate, Pharmacokinetics, Phylogenetics, Spatial


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Murrell, "The R Journal: The gridGraphics Package", The R Journal, 2015

BibTeX citation

  author = {Murrell, Paul},
  title = {The R Journal: The gridGraphics Package},
  journal = {The R Journal},
  year = {2015},
  note = {},
  doi = {10.32614/RJ-2015-012},
  volume = {7},
  issue = {1},
  issn = {2073-4859},
  pages = {151-162}