grid v3.6.2

The Grid Graphics Package

A rewrite of the graphics layout capabilities, plus some support for interaction.

Functions in grid

Name Description
grid.text Draw Text
Querying the Viewport Tree Get the Current Grid Viewport (Tree)
grid.circle Draw a Circle
grid.grep Search for grobs
depth Determine the number of levels in an object.
Grid Grid Graphics
absolute.size Absolute Size of a Grob
grid.rect Draw rectangles
gEdit Create and Apply Edit Objects
explode Explode a path into its components.
arrow Describe arrows to add to a line.
calcStringMetric Calculate Metric Information for Text
grid.locator Capture a Mouse Click
validDetails Customising grid grob Validation
grid.curve Draw a Curve Between Locations
grid.frame Create a Frame for Packing Objects
dataViewport Create a Viewport with Scales based on Data
grid.pretty Generate a Sensible Set of Breakpoints
drawDetails Customising grid Drawing
editDetails Customising grid Editing
gPath Concatenate Grob Names
getNames List the names of grobs on the display list
grid.grob Create Grid Graphical Objects, aka "Grob"s
unit.pmin Parallel Unit Minima and Maxima
deviceLoc Convert Viewport Location to Device Location
grid.convert Convert Between Different grid Coordinate Systems
grid-internal Internal Grid Functions
grid-package The Grid Graphics Package
grid.clip Set the Clipping Region
grid.lines Draw Lines in a Grid Viewport
grid.force Force a grob into its components
grid.delay Encapsulate calculations and generating a grob
grid.path Draw a Path
grid.edit Edit the Description of a Grid Graphical Object
grid.xspline Draw an Xspline
grobCoords Calculate Points on the Perimeter of a Grob
grid.copy Make a Copy of a Grid Graphical Object
grid.raster Render a raster object
plotViewport Create a Viewport with a Standard Plot Layout
resolveRasterSize Utility function to resolve the size of a raster grob
valid.just Validate a Justification
grid.yaxis Draw a Y-Axis
grid-defunct Defunct Functions in Package grid
showGrob Label grid grobs.
gpar Handling Grid Graphical Parameters
grid.cap Capture a raster image
grid.bezier Draw a Bezier Curve
grid.get Get a Grid Graphical Object
grid.ls List the names of grobs or viewports
grid.DLapply Modify the Grid Display List
grid.grab Grab the current grid output
grid.add Add a Grid Graphical Object
grid.place Place an Object within a Frame
grid.newpage Move to a New Page on a Grid Device
grid.display.list Control the Grid Display List
grid.layout Create a Grid Layout
grid.draw Draw a grid grob
grid.pack Pack an Object within a Frame
grid.show.layout Draw a Diagram of a Grid Layout
grid.move.to Move or Draw to a Specified Position
stringWidth Create a Unit Describing the Width and Height of a String or Math Expression
grid.xaxis Draw an X-Axis
grobName Generate a Name for a Grob
legendGrob Constructing a Legend Grob
grid.grill Draw a Grill
grid.plot.and.legend A Simple Plot and Legend Demo
grid.refresh Refresh the current grid scene
grid.points Draw Data Symbols
grid.function Draw a curve representing a function
Grid Viewports Create a Grid Viewport
grid.remove Remove a Grid Graphical Object
makeContent Customised grid Grobs
grid.segments Draw Line Segments
grid.record Encapsulate calculations and drawing
grid.polygon Draw a Polygon
grid.set Set a Grid Graphical Object
grid.show.viewport Draw a Diagram of a Grid Viewport
unit.rep Replicate Elements of Unit Objects
grid.null Null Graphical Object
xsplinePoints Return the points that would be used to draw an Xspline (or a Bezier curve).
unit Function to Create a Unit Object
xDetails Boundary of a grid grob
Working with Viewports Maintaining and Navigating the Grid Viewport Tree
roundrect Draw a rectangle with rounded corners
grid.reorder Reorder the children of a gTree
grobWidth Create a Unit Describing the Width of a Grob
showViewport Display grid viewports.
grobX Create a Unit Describing a Grob Boundary Location
unit.c Combine Unit Objects
unit.length Length of a Unit Object
widthDetails Width and Height of a grid grob
vpPath Concatenate Viewport Names
No Results!

Vignettes of grid

Name
displaylist.Rnw
frame.Rnw
grid.Rnw
grid.Rnw-nolattice
grid.bib
grobs.Rnw
interactive.Rnw
locndimn.Rnw
moveline.Rnw
nonfinite.Rnw
plotexample.Rnw
rotated.Rnw
saveload.Rnw
sharing.Rnw
viewports.Rnw
No Results!

Details

Priority base
License Part of R 3.6.2
NeedsCompilation yes
imports grDevices , utils
suggests lattice
Contributors Paul Murrell

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/grid)](http://www.rdocumentation.org/packages/grid)