Save Object with multiple viewports as .png For each plot provided in 'plot' argument, there should be a corresponding viewport in 'vp' argument (where first plot object corresponds to first viewport object, etc.).
1 2 3 |
x |
A string of the plot name. |
sub |
A string of the path to the directory to save the object. |
main |
A string of the main subfolder. |
caption |
A string of the figure caption. |
report |
A flag indicating to include the plot in reports. |
width |
A number indicating the width of the plot in inches. |
height |
A number indicating the height of the plot in inches. |
dpi |
A number indicating plot resolution. |
ask |
A string indicating whether to ask before creating a sub directory. |
plot |
A list containing plot objects. |
vp |
A list containing viewport objects. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.