Learn R Programming

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

grid (version 3.4.3)

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.4.3

License

Part of R 3.4.3

Last Published

December 12th, 2019

Functions in grid (3.4.3)

absolute.size

Absolute Size of a Grob
arrow

Describe arrows to add to a line.
drawDetails

Customising grid Drawing
editDetails

Customising grid Editing
calcStringMetric

Calculate Metric Information for Text
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
Grid

Grid Graphics
getNames

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

Add a Grid Graphical Object
depth

Determine the number of levels in an object.
grid-defunct

Defunct Functions in Package grid
explode

Explode a path into its components.
grid-internal

Internal Grid Functions
grid-package

The Grid Graphics Package
dataViewport

Create a Viewport with Scales based on Data
grid.DLapply

Modify the Grid Display List
gpar

Handling Grid Graphical Parameters
gEdit

Create and Apply Edit Objects
gPath

Concatenate Grob Names
grid.draw

Draw a grid grob
grid.bezier

Draw a Bezier Curve
grid.edit

Edit the Description of a Grid Graphical Object
grid.delay

Encapsulate calculations and generating a grob
grid.display.list

Control the Grid Display List
grid.cap

Capture a raster image
grid.grill

Draw a Grill
grid.circle

Draw a Circle
grid.grob

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

Capture a Mouse Click
grid.grab

Grab the current grid output
grid.ls

List the names of grobs or viewports
grid.grep

Search for grobs
grid.path

Draw a Path
grid.place

Place an Object within a Frame
grid.function

Draw a curve representing a function
grid.rect

Draw rectangles
grid.get

Get a Grid Graphical Object
grid.refresh

Refresh the current grid scene
grobWidth

Create a Unit Describing the Width of a Grob
grid.move.to

Move or Draw to a Specified Position
grobX

Create a Unit Describing a Grob Boundary Location
grid.newpage

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

Draw Data Symbols
grid.copy

Make a Copy of a Grid Graphical Object
grid.raster

Render a raster object
grid.curve

Draw a Curve Between Locations
grid.record

Encapsulate calculations and drawing
grid.yaxis

Draw a Y-Axis
grid.force

Force a grob into its components
grobName

Generate a Name for a Grob
grid.frame

Create a Frame for Packing Objects
unit.c

Combine Unit Objects
unit.length

Length of a Unit Object
grid.null

Null Graphical Object
grid.remove

Remove a Grid Graphical Object
grid.clip

Set the Clipping Region
grid.reorder

Reorder the children of a gTree
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.convert

Convert Between Different grid Coordinate Systems
grid.text

Draw Text
grid.layout

Create a Grid Layout
stringWidth

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

Draw Lines in a Grid Viewport
unit

Function to Create a Unit Object
legendGrob

Constructing a Legend Grob
grid.plot.and.legend

A Simple Plot and Legend Demo
makeContent

Customised grid Grobs
roundrect

Draw a rectangle with rounded corners
vpPath

Concatenate Viewport Names
grid.segments

Draw Line Segments
widthDetails

Width and Height of a grid grob
unit.pmin

Parallel Unit Minima and Maxima
grid.set

Set a Grid Graphical Object
unit.rep

Replicate Elements of Unit Objects
grid.show.layout

Draw a Diagram of a Grid Layout
grid.pack

Pack an Object within a Frame
xDetails

Boundary of a grid grob
grid.polygon

Draw a Polygon
grid.pretty

Generate a Sensible Set of Breakpoints
xsplinePoints

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

Draw an X-Axis
plotViewport

Create a Viewport with a Standard Plot Layout
grid.xspline

Draw an Xspline
showGrob

Label grid grobs.
resolveRasterSize

Utility function to resolve the size of a raster grob
showViewport

Display grid viewports.
Grid Viewports

Create a Grid Viewport
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
valid.just

Validate a Justification
validDetails

Customising grid grob Validation