grid.comment | R Documentation |
Creates a comment.grob
object which is a grid
nullGrob
, with a comment attached. Useful in conjunction
with grid.export
, to produce an SVG document with comments
inserted at the point where the grob is “drawn”.
grid.comment(comment, name = NULL, vp = NULL)
commentGrob(comment, name = NULL, vp = NULL)
comment |
A character vector used to write out a comment. If this has a length greater than one, each element is assumed to be a line. |
name |
A character identifier. |
vp |
The viewport to which the grob belongs. |
A comment.grob
object.
Simon Potter
grid.export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.