cf_outputFigure: Output figures

View source: R/copied_from_conveniencefunctions.R

cf_outputFigureR Documentation

Output figures

Description

Handle paginate automatically, save asynchronously with future

Usage

cf_outputFigure(
  pl,
  filename = NULL,
  width = 16,
  height = 10,
  scale = 1,
  units = c("cm", "mm", "in")[1],
  dpi = 300,
  limitsize = TRUE,
  device = NULL,
  heightrel = NULL,
  FLAGFuture = TRUE,
  FLAGoverwrite = TRUE,
  ...
)

Arguments

pl

plot like ggplot, potentially created with facet_grid_paginate or list of ggplots

filename, width, height, scale, units, dpi, limitsize, device, ...

see [ggplot2::ggsave()]

FLAGFuture

Export asynchronously with the future-package

Details

# importFrom ggplot2 plot_dev parse_dpi plot_dim

Value

nothing


dlill/petab documentation built on Oct. 9, 2022, 3:07 p.m.