Learn R Programming

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

grid (version 3.6.1)

The Grid Graphics Package

Description

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

Copy Link

Version

Monthly Downloads

197

Version

3.6.1

License

Part of R 3.6.1

Last Published

December 12th, 2019

Functions in grid (3.6.1)

editDetails

Customising grid Editing
dataViewport

Create a Viewport with Scales based on Data
calcStringMetric

Calculate Metric Information for Text
Grid

Grid Graphics
drawDetails

Customising grid Drawing
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
absolute.size

Absolute Size of a Grob
arrow

Describe arrows to add to a line.
depth

Determine the number of levels in an object.
deviceLoc

Convert Viewport Location to Device Location
gpar

Handling Grid Graphical Parameters
grid-package

The Grid Graphics Package
grid.clip

Set the Clipping Region
grid.grill

Draw a Grill
grid-internal

Internal Grid Functions
grid.grep

Search for grobs
grid.circle

Draw a Circle
gPath

Concatenate Grob Names
grid.display.list

Control the Grid Display List
getNames

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

Defunct Functions in Package grid
grid.DLapply

Modify the Grid Display List
grid.force

Force a grob into its components
grid.copy

Make a Copy of a Grid Graphical Object
grid.convert

Convert Between Different grid Coordinate Systems
grid.edit

Edit the Description of a Grid Graphical Object
grid.lines

Draw Lines in a Grid Viewport
explode

Explode a path into its components.
grid.draw

Draw a grid grob
grid.bezier

Draw a Bezier Curve
gEdit

Create and Apply Edit Objects
grid.cap

Capture a raster image
grid.ls

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

Move or Draw to a Specified Position
grid.frame

Create a Frame for Packing Objects
grid.layout

Create a Grid Layout
grid.xaxis

Draw an X-Axis
roundrect

Draw a rectangle with rounded corners
grobX

Create a Unit Describing a Grob Boundary Location
grobWidth

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

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

Reorder the children of a gTree
grid.text

Draw Text
grid.points

Draw Data Symbols
grid.locator

Capture a Mouse Click
grid.polygon

Draw a Polygon
grid.pack

Pack an Object within a Frame
legendGrob

Constructing a Legend Grob
makeContent

Customised grid Grobs
grid.function

Draw a curve representing a function
grid.path

Draw a Path
grid.record

Encapsulate calculations and drawing
grid.add

Add a Grid Graphical Object
grid.delay

Encapsulate calculations and generating a grob
grid.curve

Draw a Curve Between Locations
grid.newpage

Move to a New Page on a Grid Device
unit.c

Combine Unit Objects
grid.rect

Draw rectangles
unit.length

Length of a Unit Object
stringWidth

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

Draw a Diagram of a Grid Layout
grid.show.viewport

Draw a Diagram of a Grid Viewport
unit

Function to Create a Unit Object
unit.pmin

Parallel Unit Minima and Maxima
grobCoords

Calculate Points on the Perimeter of a Grob
grobName

Generate a Name for a Grob
unit.rep

Replicate Elements of Unit Objects
grid.null

Null Graphical Object
grid.refresh

Refresh the current grid scene
grid.get

Get a Grid Graphical Object
grid.grab

Grab the current grid output
grid.segments

Draw Line Segments
grid.remove

Remove a Grid Graphical Object
grid.set

Set a Grid Graphical Object
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
Grid Viewports

Create a Grid Viewport
valid.just

Validate a Justification
validDetails

Customising grid grob Validation
showGrob

Label grid grobs.
showViewport

Display grid viewports.
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.raster

Render a raster object
grid.place

Place an Object within a Frame
grid.pretty

Generate a Sensible Set of Breakpoints
grid.xspline

Draw an Xspline
xDetails

Boundary of a grid grob
vpPath

Concatenate Viewport Names
plotViewport

Create a Viewport with a Standard Plot Layout
widthDetails

Width and Height of a grid grob
grid.yaxis

Draw a Y-Axis
xsplinePoints

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

Utility function to resolve the size of a raster grob