nicePlot: nicePlot

View source: R/E004_nicePlot.R

nicePlotR Documentation

nicePlot

Description

A wrapper for easyPlot with defaults set up to make png files sized for instagram

Usage

nicePlot(
  art,
  ...,
  finalWidth = 3.6,
  finalHeight = 3.6,
  name = "artwork",
  folder = getwd(),
  bg = "WhiteSmoke",
  format = "png",
  auto = FALSE,
  bgCode = NULL,
  border = c(0.07, 0.03, 0),
  useGrid = FALSE,
  res = 300,
  innerMargin = 0.04,
  borderColours = c("white", "black"),
  borderSize = 60
)

Arguments

art

a component, list of components....

finalWidth, finalHeight

sizes given in inches.

name, folder, bg, format, border, useGrid, res, innerMargin, borderColours, borderSize, ...

all passed to easyPlot

bgCode

a shortcut for border colours. small number. see instagramColours

Value

No return value, easy plot is called.


R-graphic-design/RGD documentation built on Jan. 2, 2023, 10:30 p.m.