Learn R Programming

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

grid (version 3.3.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.3.1

License

Part of R 3.3.1

Last Published

December 12th, 2019

Functions in grid (3.3.1)

arrow

Describe arrows to add to a line.
absolute.size

Absolute Size of a Grob
gEdit

Create and Apply Edit Objects
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
dataViewport

Create a Viewport with Scales based on Data
explode

Explode a path into its components.
drawDetails

Customising grid Drawing
calcStringMetric

Calculate Metric Information for Text
editDetails

Customising grid Editing
depth

Determine the number of levels in an object.
getNames

List the names of grobs on the display list
gpar

Handling Grid Graphical Parameters
grid-package

The Grid Graphics Package
grid-internal

Internal Grid Functions
grid.circle

Draw a Circle
grid.cap

Capture a raster image
gPath

Concatenate Grob Names
grid-defunct

Defunct Functions in Package grid
grid.bezier

Draw a Bezier Curve
grid.add

Add a Grid Graphical Object
grid.edit

Edit the Description of a Grid Graphical Object
grid.force

Force a grob into its components
grid.lines

Draw Lines in a Grid Viewport
grid.layout

Create a Grid Layout
grid.delay

Encapsulate calculations and generating a grob
grid.display.list

Control the Grid Display List
Grid

Grid Graphics
grid.grob

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

Set the Clipping Region
grid.convert

Convert Between Different grid Coordinate Systems
grid.frame

Create a Frame for Packing Objects
grid.polygon

Draw a Polygon
grid.pretty

Generate a Sensible Set of Breakpoints
grid.function

Draw a curve representing a function
grid.curve

Draw a Curve Between Locations
grid.copy

Make a Copy of a Grid Graphical Object
grid.show.viewport

Draw a Diagram of a Grid Viewport
grid.text

Draw Text
grid.grab

Grab the current grid output
grid.get

Get a Grid Graphical Object
grid.locator

Capture a Mouse Click
grid.ls

List the names of grobs or viewports
grid.pack

Pack an Object within a Frame
grid.null

Null Graphical Object
grid.raster

Render a raster object
xDetails

Boundary of a grid grob
grid.show.layout

Draw a Diagram of a Grid Layout
grid.set

Set a Grid Graphical Object
grid.record

Encapsulate calculations and drawing
xsplinePoints

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

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

Combine Unit Objects
validDetails

Customising grid grob Validation
valid.just

Validate a Justification
grobX

Create a Unit Describing a Grob Boundary Location
grobWidth

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

Refresh the current grid scene
grid.rect

Draw rectangles
unit.length

Length of a Unit Object
unit

Function to Create a Unit Object
grid.move.to

Move or Draw to a Specified Position
grid.xaxis

Draw an X-Axis
grid.newpage

Move to a New Page on a Grid Device
legendGrob

Constructing a Legend Grob
grid.xspline

Draw an Xspline
widthDetails

Width and Height of a grid grob
makeContent

Customised grid Grobs
vpPath

Concatenate Viewport Names
grid.draw

Draw a grid grob
grid.DLapply

Modify the Grid Display List
grid.plot.and.legend

A Simple Plot and Legend Demo
grid.remove

Remove a Grid Graphical Object
grid.points

Draw Data Symbols
grid.reorder

Reorder the children of a gTree
showViewport

Display grid viewports.
showGrob

Label grid grobs.
grid.path

Draw a Path
grid.grill

Draw a Grill
grid.grep

Search for grobs
grid.place

Place an Object within a Frame
grid.yaxis

Draw a Y-Axis
roundrect

Draw a rectangle with rounded corners
grobName

Generate a Name for a Grob
grid.segments

Draw Line Segments
plotViewport

Create a Viewport with a Standard Plot Layout
resolveRasterSize

Utility function to resolve the size of a raster grob
Grid Viewports

Create a Grid Viewport
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
unit.pmin

Parallel Unit Minima and Maxima
unit.rep

Replicate Elements of Unit Objects