Description Usage Arguments Value Examples
This function returns a preset object that contains a preset layout of a plot, which can be fed to the function pngpdf_preset(), to use a preselected layout for various arrangements of plots in the device.
1 | get_preset(n = 1, layout = "")
|
n |
Number of plots in the figure. (default 1) Currently, only n=1-3 are available. |
layout |
The layout number. (default ”). Currently for n=2, 'h50' (horizontal division) and 'v50' (vertical division) are available. For n=1 and n=3, only one preset is available. |
a preset, list of plt vectors, width and height.
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.