Learn R Programming

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

grid (version 3.5.1)

The Grid Graphics Package

Description

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

Copy Link

Version

Monthly Downloads

182

Version

3.5.1

License

Part of R 3.5.1

Last Published

December 12th, 2019

Functions in grid (3.5.1)

grid.delay

Encapsulate calculations and generating a grob
grid.draw

Draw a grid grob
grid.display.list

Control the Grid Display List
grid.clip

Set the Clipping Region
grid.convert

Convert Between Different grid Coordinate Systems
grid.grab

Grab the current grid output
grid.move.to

Move or Draw to a Specified Position
grid.circle

Draw a Circle
grid.force

Force a grob into its components
grid.grep

Search for grobs
grid.frame

Create a Frame for Packing Objects
grid.points

Draw Data Symbols
grid.cap

Capture a raster image
grid.plot.and.legend

A Simple Plot and Legend Demo
gPath

Concatenate Grob Names
grid.lines

Draw Lines in a Grid Viewport
grid.record

Encapsulate calculations and drawing
grid.raster

Render a raster object
grid.null

Null Graphical Object
grid.layout

Create a Grid Layout
grid.newpage

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

Set a Grid Graphical Object
grid.pack

Pack an Object within a Frame
grid.segments

Draw Line Segments
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.edit

Edit the Description of a Grid Graphical Object
grid.grob

Create Grid Graphical Objects, aka "Grob"s
roundrect

Draw a rectangle with rounded corners
grid.grill

Draw a Grill
grid.locator

Capture a Mouse Click
grid.copy

Make a Copy of a Grid Graphical Object
showViewport

Display grid viewports.
showGrob

Label grid grobs.
grid.path

Draw a Path
grid.show.layout

Draw a Diagram of a Grid Layout
grid.curve

Draw a Curve Between Locations
grid.place

Place an Object within a Frame
grid.function

Draw a curve representing a function
vpPath

Concatenate Viewport Names
grid.ls

List the names of grobs or viewports
grid.rect

Draw rectangles
grid.polygon

Draw a Polygon
grid.text

Draw Text
grid.pretty

Generate a Sensible Set of Breakpoints
widthDetails

Width and Height of a grid grob
grobWidth

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

Get a Grid Graphical Object
unit.c

Combine Unit Objects
grobX

Create a Unit Describing a Grob Boundary Location
grid.reorder

Reorder the children of a gTree
grid.refresh

Refresh the current grid scene
grid.remove

Remove a Grid Graphical Object
grid.xaxis

Draw an X-Axis
grid.yaxis

Draw a Y-Axis
stringWidth

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

Create a Grid Viewport
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
unit.length

Length of a Unit Object
unit

Function to Create a Unit Object
grobName

Generate a Name for a Grob
resolveRasterSize

Utility function to resolve the size of a raster grob
xDetails

Boundary of a grid grob
plotViewport

Create a Viewport with a Standard Plot Layout
xsplinePoints

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

Draw an Xspline
unit.rep

Replicate Elements of Unit Objects
unit.pmin

Parallel Unit Minima and Maxima
valid.just

Validate a Justification
legendGrob

Constructing a Legend Grob
makeContent

Customised grid Grobs
validDetails

Customising grid grob Validation
grid-package

The Grid Graphics Package
drawDetails

Customising grid Drawing
editDetails

Customising grid Editing
explode

Explode a path into its components.
gpar

Handling Grid Graphical Parameters
depth

Determine the number of levels in an object.
getNames

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

Modify the Grid Display List
grid-defunct

Defunct Functions in Package grid
grid-internal

Internal Grid Functions
gEdit

Create and Apply Edit Objects
dataViewport

Create a Viewport with Scales based on Data
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
arrow

Describe arrows to add to a line.
absolute.size

Absolute Size of a Grob
calcStringMetric

Calculate Metric Information for Text
Grid

Grid Graphics
grid.add

Add a Grid Graphical Object
grid.bezier

Draw a Bezier Curve