Description Usage Arguments Value Author(s) References See Also Examples
This function is a high-level interface to changing the dimensions of the SVG document. It is mostly used, so far, to enlarge the view of an SVG display created in R so that we can add extra elements when post-processing the document. For example, to add a slider below on the side of a plot we must enlarge the viewing area in the appropriate dimension.
1 | enlargeSVGViewBox(doc, x = 0, y = 0, svg = xmlRoot(doc))
|
doc |
the parsed XML/SVG document |
x |
the amount to add to the width of the SVG document's viewing area |
y |
the amount to add to the height of the SVG document's viewing area |
svg |
the root node whose |
The updated SVG document, invisibly.
Duncan Temple Lang
http://www.carto.net/papers/svg/samples/index.shtml#iact
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.