Learn R Programming

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

grid (version 3.5.0)

The Grid Graphics Package

Description

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

Copy Link

Version

Monthly Downloads

180

Version

3.5.0

License

Part of R 3.5.0

Maintainer

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

Last Published

December 12th, 2019

Functions in grid (3.5.0)

grid.add

Add a Grid Graphical Object
grid.delay

Encapsulate calculations and generating a grob
grid.clip

Set the Clipping Region
grid.DLapply

Modify the Grid Display List
grid.draw

Draw a grid grob
grid.get

Get a Grid Graphical Object
grid.edit

Edit the Description of a Grid Graphical Object
grid.function

Draw a curve representing a function
grid.move.to

Move or Draw to a Specified Position
grid.pretty

Generate a Sensible Set of Breakpoints
grid.newpage

Move to a New Page on a Grid Device
grid.polygon

Draw a Polygon
grid-internal

Internal Grid Functions
grid.cap

Capture a raster image
grid.display.list

Control the Grid Display List
grid.convert

Convert Between Different grid Coordinate Systems
grid.grab

Grab the current grid output
grid.copy

Make a Copy of a Grid Graphical Object
grid.xaxis

Draw an X-Axis
grid.xspline

Draw an Xspline
showViewport

Display grid viewports.
grid.grill

Draw a Grill
grid.curve

Draw a Curve Between Locations
showGrob

Label grid grobs.
valid.just

Validate a Justification
grid.grob

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

Draw a Circle
grid.grep

Search for grobs
grid.layout

Create a Grid Layout
grid.lines

Draw Lines in a Grid Viewport
grid.null

Null Graphical Object
grid.place

Place an Object within a Frame
validDetails

Customising grid grob Validation
grid.path

Draw a Path
grid.pack

Pack an Object within a Frame
grid.force

Force a grob into its components
grid.frame

Create a Frame for Packing Objects
grid.remove

Remove a Grid Graphical Object
grid.locator

Capture a Mouse Click
grid.ls

List the names of grobs or viewports
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.rect

Draw rectangles
grid.points

Draw Data Symbols
grid.refresh

Refresh the current grid scene
roundrect

Draw a rectangle with rounded corners
grid.segments

Draw Line Segments
grid.reorder

Reorder the children of a gTree
grobWidth

Create a Unit Describing the Width of a Grob
grid.set

Set a Grid Graphical Object
grid.yaxis

Draw a Y-Axis
grid.raster

Render a raster object
unit.c

Combine Unit Objects
grobName

Generate a Name for a Grob
grid.record

Encapsulate calculations and drawing
grid.show.layout

Draw a Diagram of a Grid Layout
grobX

Create a Unit Describing a Grob Boundary Location
plotViewport

Create a Viewport with a Standard Plot Layout
legendGrob

Constructing a Legend Grob
makeContent

Customised grid Grobs
unit.length

Length of a Unit Object
resolveRasterSize

Utility function to resolve the size of a raster grob
vpPath

Concatenate Viewport Names
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
Grid Viewports

Create a Grid Viewport
xDetails

Boundary of a grid grob
widthDetails

Width and Height of a grid grob
xsplinePoints

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

Draw a Diagram of a Grid Viewport
grid.text

Draw Text
stringWidth

Create a Unit Describing the Width and Height of a String or Math Expression
unit

Function to Create a Unit Object
unit.pmin

Parallel Unit Minima and Maxima
unit.rep

Replicate Elements of Unit Objects
arrow

Describe arrows to add to a line.
Grid

Grid Graphics
absolute.size

Absolute Size of a Grob
calcStringMetric

Calculate Metric Information for Text
drawDetails

Customising grid Drawing
explode

Explode a path into its components.
depth

Determine the number of levels in an object.
editDetails

Customising grid Editing
gpar

Handling Grid Graphical Parameters
gPath

Concatenate Grob Names
gEdit

Create and Apply Edit Objects
getNames

List the names of grobs on the display list
grid-defunct

Defunct Functions in Package grid
grid.bezier

Draw a Bezier Curve
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
grid-package

The Grid Graphics Package
dataViewport

Create a Viewport with Scales based on Data