Learn R Programming

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

grid (version 3.0.3)

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

License

Part of R 3.0.3

Last Published

December 12th, 2019

Functions in grid (3.0.3)

absolute.size

Absolute Size of a Grob
arrow

Describe arrows to add to a line.
gEdit

Create and Apply Edit Objects
drawDetails

Customising grid Drawing
dataViewport

Create a Viewport with Scales based on Data
editDetails

Customising grid Editing
getNames

List the names of grobs on the display list
Querying the Viewport Tree

Get the Current Grid Viewport (Tree)
calcStringMetric

Calculate Metric Information for Text
convertNative

Convert a Unit Object to Native units
grid.bezier

Draw a Bezier Curve
grid-internal

Internal Grid Functions
grid.clip

Set the Clipping Region
gpar

Handling Grid Graphical Parameters
gPath

Concatenate Grob Names
grid-package

The Grid Graphics Package
grid.add

Add a Grid Graphical Object
grid.cap

Capture a raster image
grid.arrows

Draw Arrows
grid.circle

Draw a Circle
grid.display.list

Control the Grid Display List
grid.force

Force a grob into its components
grid.convert

Convert Between Different grid Coordinate Systems
grid.draw

Draw a grid grob
grid.DLapply

Modify the Grid Display List
grid.curve

Draw a Curve Between Locations
grid.copy

Make a Copy of a Grid Graphical Object
grid.collection

Create a Coherent Group of Grid Graphical Objects
grid.delay

Encapsulate calculations and generating a grob
grid.edit

Edit the Description of a Grid Graphical Object
grid.grob

Create a Grid Graphical Object
grid.frame

Create a Frame for Packing Objects
grid.grab

Grab the current grid output
grid.layout

Create a Grid Layout
grid.grill

Draw a Grill
grid.get

Get a Grid Graphical Object
grid.function

Draw a curve representing a function
grid.lines

Draw Lines in a Grid Viewport
Grid

Grid Graphics
grid.ls

List the names of grobs or viewports
grid.place

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

A Simple Plot and Legend Demo
grid.null

Null Graphical Object
grid.polygon

Draw a Polygon
grid.newpage

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

Move or Draw to a Specified Position
grid.points

Draw Data Symbols
grid.pack

Pack an Object within a Frame
grid.path

Draw a Path
grid.pretty

Generate a Sensible Set of Breakpoints
grid.set

Set a Grid Graphical Object
grid.show.layout

Draw a Diagram of a Grid Layout
grid.rect

Draw rectangles
grid.refresh

Refresh the current grid scene
grid.raster

Render a raster object
roundrect

Draw a rectangle with rounded corners
grid.segments

Draw Line Segments
grid.record

Encapsulate calculations and drawing
grid.reorder

Reorder the children of a gTree
grid.remove

Remove a Grid Graphical Object
pop.viewport

Pop a Viewport off the Grid Viewport Stack
xDetails

Boundary of a grid grob
push.viewport

Push a Viewport onto the Grid Viewport Stack
grobWidth

Create a Unit Describing the Width of a Grob
grobX

Create a Unit Describing a Grob Boundary Location
xsplinePoints

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

Replicate Elements of Unit Objects
unit.pmin

Parallel Unit Minima and Maxima
makeContent

Customised grid Grobs
plotViewport

Create a Viewport with a Standard Plot Layout
valid.just

Validate a Justification
validDetails

Customising grid grob Validation
unit.c

Combine Unit Objects
stringWidth

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

Draw a Diagram of a Grid Viewport
grid.text

Draw Text
grid.xaxis

Draw an X-Axis
widthDetails

Width and Height of a grid grob
vpPath

Concatenate Viewport Names
grid.xspline

Draw an Xspline
unit

Function to Create a Unit Object
unit.length

Length of a Unit Object
Grid Viewports

Create a Grid Viewport
grobName

Generate a Name for a Grob
grid.yaxis

Draw a Y-Axis
Working with Viewports

Maintaining and Navigating the Grid Viewport Tree
showGrob

Label grid grobs.
showViewport

Display grid viewports.