This function saves a pdf image to a given filepath, with LaTeX fonts
1 |
filepath |
computer specific filepath for saving, defaults to current working directory |
img |
command used to generate a plot |
latex |
whether to use Computer Modern font, defaults to true. Note if there are issues may need font_import(), font_install('fontcm'), loadfonts() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.