View source: R/lighting_distribution.R
ld_write_svg | R Documentation |
ld_list
polar chart to a SVG fileld_write_svg()
exports the ggplot2 object of the specific
light distribution list ld_list
as a SVG graphic file (*.svg).
ld_write_svg(ld_list, file)
ld_list |
A specific light distribution list |
file |
The path to file without extension. |
ld_write_svg()
returns the ggplot2 object invisibly.
ld_data$plot <- ld_data %>% ld_add_light_distribution_plot()
# ld_write_svg() will write the file to the current working directory, if
# it is unspecified without directory path.
## Not run:
ld_write_svg(ld_data, file = "test")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.