Learn R Programming

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

grid (version 3.6.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.6.0

License

Part of R 3.6.0

Maintainer

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

Last Published

December 12th, 2019

Functions in grid (3.6.0)

grid-internal

Internal Grid Functions
grid.convert

Convert Between Different grid Coordinate Systems
grid.copy

Make a Copy of a Grid Graphical Object
drawDetails

Customising grid Drawing
editDetails

Customising grid Editing
grid.frame

Create a Frame for Packing Objects
grid.bezier

Draw a Bezier Curve
grid.cap

Capture a raster image
grid.function

Draw a curve representing a function
grid.pretty

Generate a Sensible Set of Breakpoints
grid.raster

Render a raster object
Grid

Grid Graphics
grid.edit

Edit the Description of a Grid Graphical Object
absolute.size

Absolute Size of a Grob
grid.xspline

Draw an Xspline
grid.yaxis

Draw a Y-Axis
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
gpar

Handling Grid Graphical Parameters
arrow

Describe arrows to add to a line.
calcStringMetric

Calculate Metric Information for Text
dataViewport

Create a Viewport with Scales based on Data
grid.DLapply

Modify the Grid Display List
explode

Explode a path into its components.
grid.force

Force a grob into its components
grid-defunct

Defunct Functions in Package grid
grid.display.list

Control the Grid Display List
gEdit

Create and Apply Edit Objects
grid.draw

Draw a grid grob
grid.place

Place an Object within a Frame
grid.pack

Pack an Object within a Frame
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.refresh

Refresh the current grid scene
grid.remove

Remove a Grid Graphical Object
showGrob

Label grid grobs.
grid.add

Add a Grid Graphical Object
showViewport

Display grid viewports.
unit.c

Combine Unit Objects
depth

Determine the number of levels in an object.
grid.path

Draw a Path
deviceLoc

Convert Viewport Location to Device Location
gPath

Concatenate Grob Names
getNames

List the names of grobs on the display list
grobCoords

Calculate Points on the Perimeter of a Grob
grid.show.layout

Draw a Diagram of a Grid Layout
unit.length

Length of a Unit Object
grid.get

Get a Grid Graphical Object
grid.circle

Draw a Circle
grid.grab

Grab the current grid output
grobName

Generate a Name for a Grob
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.curve

Draw a Curve Between Locations
grid.delay

Encapsulate calculations and generating a grob
grid.clip

Set the Clipping Region
grid.grob

Create Grid Graphical Objects, aka "Grob"s
legendGrob

Constructing a Legend Grob
grid.newpage

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

Null Graphical Object
plotViewport

Create a Viewport with a Standard Plot Layout
resolveRasterSize

Utility function to resolve the size of a raster grob
valid.just

Validate a Justification
grid.reorder

Reorder the children of a gTree
makeContent

Customised grid Grobs
grid.grep

Search for grobs
validDetails

Customising grid grob Validation
grid.layout

Create a Grid Layout
grid.grill

Draw a Grill
roundrect

Draw a rectangle with rounded corners
grid.text

Draw Text
grid.xaxis

Draw an X-Axis
vpPath

Concatenate Viewport Names
widthDetails

Width and Height of a grid grob
grid.ls

List the names of grobs or viewports
grid.move.to

Move or Draw to a Specified Position
grid.lines

Draw Lines in a Grid Viewport
grid.points

Draw Data Symbols
grid.locator

Capture a Mouse Click
grid.polygon

Draw a Polygon
grid.record

Encapsulate calculations and drawing
grid.rect

Draw rectangles
grid.segments

Draw Line Segments
grid.set

Set a Grid Graphical Object
stringWidth

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

Function to Create a Unit Object
Grid Viewports

Create a Grid Viewport
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
grobWidth

Create a Unit Describing the Width of a Grob
grobX

Create a Unit Describing a Grob Boundary Location
xDetails

Boundary of a grid grob
xsplinePoints

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

Parallel Unit Minima and Maxima
unit.rep

Replicate Elements of Unit Objects
grid-package

The Grid Graphics Package