Description Usage Arguments Value Author(s) See Also Examples
Saves a ggplot graphic to a file and creates the code to include it in a LaTeX document.
1 2 3 4 | ggsave.latex(..., caption = NULL, label = NULL,
figure.placement = "hbt", floating = TRUE,
caption.placement = "bottom",
latex.environments = "center")
|
... |
arguments passed to the ggsave function
( |
caption |
The caption. Default to NULL, indicating no caption. |
label |
The label. Default to NULL, indicating no label. |
figure.placement |
The placement of the figure. Default to "hbt". |
floating |
Logical. Indicates if the figure should be placed in a floating environment. Default to TRUE |
caption.placement |
Should the caption be on top or bottom of the figure. Default to "bottom" |
latex.environments |
Alignment of the figure. Default to "center". |
The graphic will be saved to a plot and the relevant LaTeX code is printed.
Thierry Onkelinx Thierry.Onkelinx@inbo.be, Paul Quataert
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.