grid.script {gridSVG} | R Documentation |
Create a grid grob containing an SVG script
Description
Creates a script object which is a normal grid grob
containing an SVG script. Useful in conjunction with
grid.export
, to produce an SVG document with
script elements.
Usage
scriptGrob(script=NULL, filename=NULL, type="application/ecmascript",
inline=FALSE, name=NULL)
grid.script(...)
Arguments
script |
A character value specifying script code. |
filename |
The name of a file that contains script code. |
type |
The type of the script code. |
inline |
A logical specifying whether the script code from the file should be included inline or just referenced. |
name |
A character value giving a name for the grob. |
... |
Arguments to be passed into |
Value
A script.grob object.
Author(s)
Paul Murrell
See Also
[Package gridSVG version 1.7-5 Index]