Learn R Programming

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

grid (version 3.3)

The Grid Graphics Package

Description

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

Copy Link

Version

Monthly Downloads

100

Version

3.3

License

Part of R 3.3

Maintainer

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

Last Published

December 12th, 2019

Functions in grid (3.3)

Grid

Grid Graphics
arrow

Describe arrows to add to a line.
calcStringMetric

Calculate Metric Information for Text
drawDetails

Customising grid Drawing
gEdit

Create and Apply Edit Objects
gPath

Concatenate Grob Names
getNames

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

Defunct Functions in Package grid
gpar

Handling Grid Graphical Parameters
grid.add

Add a Grid Graphical Object
grid.DLapply

Modify the Grid Display List
grid.convert

Convert Between Different grid Coordinate Systems
depth

Determine the number of levels in an object.
editDetails

Customising grid Editing
grid.display.list

Control the Grid Display List
grid.curve

Draw a Curve Between Locations
grid.frame

Create a Frame for Packing Objects
grid-internal

Internal Grid Functions
grid.force

Force a grob into its components
grid.edit

Edit the Description of a Grid Graphical Object
grid.grab

Grab the current grid output
grid.get

Get a Grid Graphical Object
grid.grill

Draw a Grill
grid.grep

Search for grobs
grid.delay

Encapsulate calculations and generating a grob
grid.function

Draw a curve representing a function
absolute.size

Absolute Size of a Grob
grid.circle

Draw a Circle
grid.bezier

Draw a Bezier Curve
grid.draw

Draw a grid grob
grid.cap

Capture a raster image
explode

Explode a path into its components.
dataViewport

Create a Viewport with Scales based on Data
grid.layout

Create a Grid Layout
grid.grob

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

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

Move or Draw to a Specified Position
grid.locator

Capture a Mouse Click
grid.pack

Pack an Object within a Frame
grid.pretty

Generate a Sensible Set of Breakpoints
grid.path

Draw a Path
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.polygon

Draw a Polygon
grid.ls

List the names of grobs or viewports
grid.null

Null Graphical Object
grid.place

Place an Object within a Frame
grid.rect

Draw rectangles
grid.remove

Remove a Grid Graphical Object
grid.reorder

Reorder the children of a gTree
grid.set

Set a Grid Graphical Object
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.show.layout

Draw a Diagram of a Grid Layout
grid.raster

Render a raster object
grid.record

Encapsulate calculations and drawing
grobName

Generate a Name for a Grob
grobWidth

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

Draw Text
legendGrob

Constructing a Legend Grob
resolveRasterSize

Utility function to resolve the size of a raster grob
plotViewport

Create a Viewport with a Standard Plot Layout
showGrob

Label grid grobs.
unit.pmin

Parallel Unit Minima and Maxima
stringWidth

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

Display grid viewports.
unit.rep

Replicate Elements of Unit Objects
validDetails

Customising grid grob Validation
makeContent

Customised grid Grobs
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
Grid Viewports

Create a Grid Viewport
widthDetails

Width and Height of a grid grob
vpPath

Concatenate Viewport Names
unit.c

Combine Unit Objects
xsplinePoints

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

Draw an Xspline
xDetails

Boundary of a grid grob
grid.refresh

Refresh the current grid scene
grid.segments

Draw Line Segments
grid.yaxis

Draw a Y-Axis
grobX

Create a Unit Describing a Grob Boundary Location
valid.just

Validate a Justification
unit.length

Length of a Unit Object
unit

Function to Create a Unit Object
grid.xaxis

Draw an X-Axis
grid.clip

Set the Clipping Region
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
roundrect

Draw a rectangle with rounded corners
grid.lines

Draw Lines in a Grid Viewport
grid.copy

Make a Copy of a Grid Graphical Object
grid-package

The Grid Graphics Package
grid.points

Draw Data Symbols