# The Grid Graphics Package

## Documentation for package ‘grid’ version 2.15.2

- DESCRIPTION file.
- Overview of user guides and package vignettes; browse directory.

## Help Pages

A B C D E F G H I L M N P R S T U V W X Y

grid-package | The Grid Graphics Package

## -- A --

absolute.size | Absolute Size of a Grob
addGrob | Add a Grid Graphical Object
applyEdit | Create and Apply Edit Objects
applyEdits | Create and Apply Edit Objects
arcCurvature | Draw a Curve Between Locations
arrow | Describe arrows to add to a line.
arrowsGrob | Draw Arrows
ascentDetails | Width and Height of a grid grob

## -- B --

bezierGrob | Draw a Bezier Curve
bezierPoints | Return the points that would be used to draw an Xspline (or a Bezier curve).

## -- C --

calcStringMetric | Calculate Metric Information for Text
childNames | Create a Grid Graphical Object
circleGrob | Draw a Circle
clipGrob | Set the Clipping Region
convertHeight | Convert Between Different grid Coordinate Systems
convertNative | Convert a Unit Object to Native units
convertUnit | Convert Between Different grid Coordinate Systems
convertWidth | Convert Between Different grid Coordinate Systems
convertX | Convert Between Different grid Coordinate Systems
convertY | Convert Between Different grid Coordinate Systems
current.transform | Get the Current Grid Viewport (Tree)
current.viewport | Get the Current Grid Viewport (Tree)
current.vpPath | Get the Current Grid Viewport (Tree)
current.vpTree | Get the Current Grid Viewport (Tree)
curveGrob | Draw a Curve Between Locations

## -- D --

dataViewport | Create a Viewport with Scales based on Data
descentDetails | Width and Height of a grid grob
downViewport | Maintaining and Navigating the Grid Viewport Tree
draw.details | Customising grid Drawing
drawDetails | Customising grid Drawing

## -- E --

editDetails | Customising grid Editing
editGrob | Edit the Description of a Grid Graphical Object
engine.display.list | Control the Grid Display List

## -- F --

frameGrob | Create a Frame for Packing Objects
functionGrob | Draw a curve representing a function

## -- G --

gEdit | Create and Apply Edit Objects
gEditList | Create and Apply Edit Objects
get.gpar | Handling Grid Graphical Parameters
getGrob | Get a Grid Graphical Object
getNames | List the names of grobs on the display list
gList | Create a Grid Graphical Object
gpar | Handling Grid Graphical Parameters
gPath | Concatenate Grob Names
Grid | Grid Graphics
grid.abline | Draw a curve representing a function
grid.add | Add a Grid Graphical Object
grid.arrows | Draw Arrows
grid.bezier | Draw a Bezier Curve
grid.cap | Capture a raster image
grid.circle | Draw a Circle
grid.clip | Set the Clipping Region
grid.collection | Create a Coherent Group of Grid Graphical Objects
grid.convert | Convert Between Different grid Coordinate Systems
grid.convertHeight | Convert Between Different grid Coordinate Systems
grid.convertWidth | Convert Between Different grid Coordinate Systems
grid.convertX | Convert Between Different grid Coordinate Systems
grid.convertY | Convert Between Different grid Coordinate Systems
grid.copy | Make a Copy of a Grid Graphical Object
grid.curve | Draw a Curve Between Locations
grid.display.list | Control the Grid Display List
grid.DLapply | Modify the Grid Display List
grid.draw | Draw a grid grob
grid.edit | Edit the Description of a Grid Graphical Object
grid.frame | Create a Frame for Packing Objects
grid.function | Draw a curve representing a function
grid.gedit | Edit the Description of a Grid Graphical Object
grid.get | Get a Grid Graphical Object
grid.gget | Get a Grid Graphical Object
grid.grab | Grab the current grid output
grid.grabExpr | Grab the current grid output
grid.gremove | Remove a Grid Graphical Object
grid.grill | Draw a Grill
grid.grob | Create a Grid Graphical Object
grid.layout | Create a Grid Layout
grid.line.to | Move or Draw to a Specified Position
grid.lines | Draw Lines in a Grid Viewport
grid.locator | Capture a Mouse Click
grid.ls | List the names of grobs or viewports
grid.move.to | Move or Draw to a Specified Position
grid.newpage | Move to a New Page on a Grid Device
grid.null | Null Graphical Object
grid.pack | Pack an Object within a Frame
grid.path | Draw a Path
grid.place | Place an Object within a Frame
grid.plot.and.legend | A Simple Plot and Legend Demo
grid.points | Draw Data Symbols
grid.polygon | Draw a Polygon
grid.polyline | Draw Lines in a Grid Viewport
grid.pretty | Generate a Sensible Set of Breakpoints
grid.prompt | Prompt before New Page
grid.raster | Render a raster object
grid.record | Encapsulate calculations and drawing
grid.rect | Draw rectangles
grid.refresh | Refresh the current grid scene
grid.remove | Remove a Grid Graphical Object
grid.roundrect | Draw a rectangle with rounded corners
grid.segments | Draw Line Segments
grid.set | Set a Grid Graphical Object
grid.show.layout | Draw a Diagram of a Grid Layout
grid.show.viewport | Draw a Diagram of a Grid Viewport
grid.text | Draw Text
grid.xaxis | Draw an X-Axis
grid.xspline | Draw an Xspline
grid.yaxis | Draw a Y-Axis
grob | Create a Grid Graphical Object
grobAscent | Create a Unit Describing the Width of a Grob
grobDescent | Create a Unit Describing the Width of a Grob
grobHeight | Create a Unit Describing the Width of a Grob
grobName | Generate a Name for a Grob
grobPathListing | List the names of grobs or viewports
grobTree | Create a Grid Graphical Object
grobWidth | Create a Unit Describing the Width of a Grob
grobX | Create a Unit Describing a Grob Boundary Location
grobY | Create a Unit Describing a Grob Boundary Location
gTree | Create a Grid Graphical Object

## -- H --

heightDetails | Width and Height of a grid grob

## -- I --

is.grob | Create a Grid Graphical Object

## -- L --

linesGrob | Draw Lines in a Grid Viewport
lineToGrob | Move or Draw to a Specified Position

## -- M --

moveToGrob | Move or Draw to a Specified Position

## -- N --

nestedListing | List the names of grobs or viewports
nullGrob | Null Graphical Object

## -- P --

packGrob | Pack an Object within a Frame
pathGrob | Draw a Path
pathListing | List the names of grobs or viewports
placeGrob | Place an Object within a Frame
plotViewport | Create a Viewport with a Standard Plot Layout
pointsGrob | Draw Data Symbols
polygonGrob | Draw a Polygon
polylineGrob | Draw Lines in a Grid Viewport
pop.viewport | Pop a Viewport off the Grid Viewport Stack
popViewport | Maintaining and Navigating the Grid Viewport Tree
postDrawDetails | Customising grid Drawing
preDrawDetails | Customising grid Drawing
push.viewport | Push a Viewport onto the Grid Viewport Stack
pushViewport | Maintaining and Navigating the Grid Viewport Tree

## -- R --

rasterGrob | Render a raster object
recordGrob | Encapsulate calculations and drawing
rectGrob | Draw rectangles
removeGrob | Remove a Grid Graphical Object
roundrect | Draw a rectangle with rounded corners
roundrectGrob | Draw a rectangle with rounded corners

## -- S --

seekViewport | Maintaining and Navigating the Grid Viewport Tree
segmentsGrob | Draw Line Segments
setChildren | Add a Grid Graphical Object
setGrob | Set a Grid Graphical Object
showGrob | Label grid grobs.
showViewport | Display grid viewports.
stringAscent | Create a Unit Describing the Width and Height of a String or Math Expression
stringDescent | Create a Unit Describing the Width and Height of a String or Math Expression
stringHeight | Create a Unit Describing the Width and Height of a String or Math Expression
stringWidth | Create a Unit Describing the Width and Height of a String or Math Expression

## -- T --

textGrob | Draw Text

## -- U --

unit | Function to Create a Unit Object
unit.c | Combine Unit Objects
unit.length | Length of a Unit Object
unit.pmax | Parallel Unit Minima and Maxima
unit.pmin | Parallel Unit Minima and Maxima
unit.rep | Replicate Elements of Unit Objects
upViewport | Maintaining and Navigating the Grid Viewport Tree

## -- V --

valid.just | Validate a Justification
validDetails | Customising grid grob Validation
viewport | Create a Grid Viewport
vpList | Create a Grid Viewport
vpPath | Concatenate Viewport Names
vpStack | Create a Grid Viewport
vpTree | Create a Grid Viewport

## -- W --

widthDetails | Width and Height of a grid grob

## -- X --

xaxisGrob | Draw an X-Axis
xDetails | Boundary of a grid grob
xsplineGrob | Draw an Xspline
xsplinePoints | Return the points that would be used to draw an Xspline (or a Bezier curve).

## -- Y --

yaxisGrob | Draw a Y-Axis
yDetails | Boundary of a grid grob