Learn R Programming

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

gridSVG (version 1.4-3)

Export grid Graphics as SVG

Description

Functions to export graphics drawn with package grid to SVG format. Additional functions provide access to SVG features that are not available in standard R graphics, such as hyperlinks, animation, filters, masks, clipping paths, and gradient and pattern fills.

Copy Link

Version

Install

install.packages('gridSVG')

Monthly Downloads

12,706

Version

1.4-3

License

GPL

Maintainer

Paul Murrell

Last Published

January 27th, 2015

Functions in gridSVG (1.4-3)

grid.mask

Apply an opacity mask to a grid grob.
garnish

Convert animation specifications to SVG elements.
grid.script

Create a grid grob containing an SVG script
feDisplacementMap

Displace pixel values from a filter input.
svg-internal

Internal gridSVG Functions
grid.gradientFill

Associate a gradient fill with a grid grob
primToDev

Convert a grob to device calls
grid.element

Create a grid grob representing an SVG element
feColorMatrix

Apply a matrix transformation on colour values.
feTile

Fill a rectangle with a tiled pattern of an input image.
gridsvg

gridSVG Graphics Device
Coordinate System Import/Export

Importing an external coordinate system
grid.garnish

Associate arbitrary SVG attributes with a grid grob
feSpecularLighting

Light an image using the alpha channel as a bump map.
fePointLight

Create a Point Light Source
feImage

Draw a referred image.
filterEffect

Creating Filter Effects
setSVGoptions

Get and Set Global Options
feBlend

Blend two objects together.
listSVGDefinitions

List All Reference Definitions
feMorphology

"Fatten" or "thin" artwork.
grobToDev

Convert a grob to device calls
grid.hyperlink

Associate a hyperlink with a grid grob
feDistantLight

Create a Distant Light Source
feFlood

Create and fill a rectangular region.
feComponentTransfer

Perform Colour Component-wise Remapping.
Pattern Fills

Create a definition of a fill pattern.
feGaussianBlur

Apply a Gaussian blur to an image.
fe

Creating a generic filter effect
Gradient Objects

Create Linear and Radial Gradients
feTurbulence

Create an image using the Perlin turbulence function.
feOffset

Offset an input image relative to its current position.
feSpotLight

Create a Spot Light Source
Import Mappings JS

Importing JavaScript mapping information.
grid.filter

Associate a filter effect with a grid grob.
feConvolveMatrix

Apply a matrix convolution filter effect.
feMerge

Composite image layers together.
viewportCreate

Recreate a viewport from imported coordinate information.
Retrieve Names Mapped to SVG IDs, CSS Selectors and XPath Expressions

Retrieving Viewport, Grob, and Reference Names as SVG IDs, CSS Selectors and XPath Expressions
grid.clipPath

Apply a clipping path to a grid grob.
animUnit

Generate a set of animation values.
Mapping Names to IDs

Mapping Viewport, Grob and Reference Names to SVG IDs
Gradient Fills

Create a definition of a gradient fill.
grid.comment

Create a grid grob representing a comment
Coordinate Conversion Functions

Functions for using an imported coordinate system
Opacity Masks

Create the definition of an opacity mask.
animate

Convert animation specifications to SVG elements.
feDiffuseLighting

Light an image using the alpha channel as a bump map.
feComposite

Combine images using Porter-Duff operations.
getSVGFonts

Manage SVG fonts
grid.patternFill

Associate a pattern fill with a grid grob
Clipping Paths

Create the definition of a non-rectangular clipping path.
pushClipPath

Apply a clipping context to the current viewport.
Filter Inputs

Identifies input for a filter effect primitive.
popContext

Leaving A Modified Viewport Context
Import Coordinate JS

Importing JavaScript coordinate information.
registerFilter

Create the definition a filter effect.
grid.animate

Animate a grid grob
gridSVG.newpage

Move to a New Page on a gridSVG Device
grid.export

Generate SVG output from a grid graphic
pushMask

Apply a masking context to the current viewport.