save_plot_template: Exporting Plots for use in LaTeX

Description Usage Arguments

View source: R/save_plot_template.R

Description

Exporting Plots for use in LaTeX

Usage

1
2
3
4
5
6
7
8
9
save_plot_template(
  plot_object = ggplot2::last_plot(),
  filenames,
  pdfwidth,
  pdfheight,
  latexwidth = 1,
  latexlabel,
  latexcaption
)

Arguments

plot_object

Plot to save. Defaults to last_plot()

filenames

name of the .tex and .pdf files

pdfwidth

Width of the .pdf file in inches

pdfheight

Height of the .pdf file in inches

latexwidth

Proportion of the linewidth to use in LaTeX. Defaults to 1

latexlabel

LaTeX label for referencing the plot in the LaTeX document

latexcaption

Figure Caption in LaTeX


RStelzle/rstfuns documentation built on Oct. 3, 2020, 4:06 p.m.