dynPlot: Draw an animated SVG plot of an animation

Description Usage Arguments Details Value Author(s) Examples

View source: R/plot.R

Description

This function creates an animated SVG file through the use of the ‘gridSVG’ package. Instead of simply drawing a plot showing a visual description, we also show how this animation occurs over time.

Usage

1
dynPlot(x, file = "anim.svg", ...)

Arguments

x

An animation object.

file

A character vector specifying the file to save to.

...

Additional parameters passed onto specific plotting functions.

Details

The use of ... should be discouraged.

Value

None.

Author(s)

Paul Murrell.

Examples

1
2
3
4
5
6
7
## Not run: 
a <- atomic(start = 2, durn = 4, label = "a")
b <- atomic(durn = 3, label = "b")
v <- vec(a, b)
dynPlot(v)

## End(Not run)

pmur002/animaker documentation built on May 25, 2019, 10:20 a.m.