Learn R Programming

⚠️There's a newer version (3.6.2) of this package.Take me there.

grid (version 3.3.0)

The Grid Graphics Package

Description

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

Copy Link

Version

Monthly Downloads

76

Version

3.3.0

License

Part of R 3.3.0

Maintainer

R-core R-core@R-project.org

Last Published

December 12th, 2019

Functions in grid (3.3.0)

drawDetails

Customising grid Drawing
editDetails

Customising grid Editing
depth

Determine the number of levels in an object.
gEdit

Create and Apply Edit Objects
dataViewport

Create a Viewport with Scales based on Data
arrow

Describe arrows to add to a line.
absolute.size

Absolute Size of a Grob
explode

Explode a path into its components.
calcStringMetric

Calculate Metric Information for Text
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
grid.circle

Draw a Circle
grid.cap

Capture a raster image
grid-internal

Internal Grid Functions
gpar

Handling Grid Graphical Parameters
getNames

List the names of grobs on the display list
grid.add

Add a Grid Graphical Object
grid-defunct

Defunct Functions in Package grid
grid-package

The Grid Graphics Package
gPath

Concatenate Grob Names
grid.bezier

Draw a Bezier Curve
grid.copy

Make a Copy of a Grid Graphical Object
grid.grab

Grab the current grid output
grid.get

Get a Grid Graphical Object
grid.curve

Draw a Curve Between Locations
grid.grep

Search for grobs
grid.convert

Convert Between Different grid Coordinate Systems
grid.clip

Set the Clipping Region
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.grill

Draw a Grill
grid.points

Draw Data Symbols
grid.edit

Edit the Description of a Grid Graphical Object
grid.path

Draw a Path
Grid

Grid Graphics
grid.grob

Create Grid Graphical Objects, aka "Grob"s
grid.force

Force a grob into its components
grid.record

Encapsulate calculations and drawing
grid.raster

Render a raster object
grid.xspline

Draw an Xspline
grid.xaxis

Draw an X-Axis
grid.place

Place an Object within a Frame
makeContent

Customised grid Grobs
legendGrob

Constructing a Legend Grob
valid.just

Validate a Justification
validDetails

Customising grid grob Validation
grid.rect

Draw rectangles
grid.text

Draw Text
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.refresh

Refresh the current grid scene
widthDetails

Width and Height of a grid grob
vpPath

Concatenate Viewport Names
grid.DLapply

Modify the Grid Display List
grid.draw

Draw a grid grob
grid.function

Draw a curve representing a function
grid.frame

Create a Frame for Packing Objects
grid.ls

List the names of grobs or viewports
grid.locator

Capture a Mouse Click
grid.set

Set a Grid Graphical Object
grid.pretty

Generate a Sensible Set of Breakpoints
grid.polygon

Draw a Polygon
grid.delay

Encapsulate calculations and generating a grob
grid.move.to

Move or Draw to a Specified Position
grid.display.list

Control the Grid Display List
unit.c

Combine Unit Objects
stringWidth

Create a Unit Describing the Width and Height of a String or Math Expression
grid.newpage

Move to a New Page on a Grid Device
grid.show.layout

Draw a Diagram of a Grid Layout
showViewport

Display grid viewports.
xsplinePoints

Return the points that would be used to draw an Xspline (or a Bezier curve).
showGrob

Label grid grobs.
xDetails

Boundary of a grid grob
grid.lines

Draw Lines in a Grid Viewport
grid.layout

Create a Grid Layout
roundrect

Draw a rectangle with rounded corners
grid.segments

Draw Line Segments
grobWidth

Create a Unit Describing the Width of a Grob
grobX

Create a Unit Describing a Grob Boundary Location
resolveRasterSize

Utility function to resolve the size of a raster grob
plotViewport

Create a Viewport with a Standard Plot Layout
Grid Viewports

Create a Grid Viewport
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
grid.pack

Pack an Object within a Frame
grid.null

Null Graphical Object
grid.remove

Remove a Grid Graphical Object
grid.reorder

Reorder the children of a gTree
grid.yaxis

Draw a Y-Axis
grobName

Generate a Name for a Grob
unit

Function to Create a Unit Object
unit.length

Length of a Unit Object
unit.pmin

Parallel Unit Minima and Maxima
unit.rep

Replicate Elements of Unit Objects