Description Usage Arguments Examples
A convenience function that prints a plot to file, and then returns HTML to embed that image in the page. Used for SVG images.
1 2 |
my_plot |
a plot object, or code that generates a plot |
file |
location to output file |
width |
width (in pixels) of the plot |
height |
height (in pixels) of the plot |
scale |
the scale used to scale the plot from inches to pixels, for display in a web browser |
dim |
passed to |
... |
passed to |
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.