logo: Draw and save the logo

plot_logoR Documentation

Description

See tools/logo.R for usage.

Usage

plot_logo(
  devsize = grDevices::dev.size(),
  expand = 0,
  swoosh = "#e08010",
  dot = "#a4321a",
  path = "#222222"
)

save_logo(
  filename,
  height = 4,
  dpi = 300,
  ...,
  expand = 0,
  bg = NULL,
  midground = NULL,
  width = height,
  swoosh = "#e08010",
  dot = "#a4321a",
  path = "#222222"
)

save_sticker(filename, height = 4, dpi = 300, ...)

Arguments

devsize

A numeric vector. c(width, height)

expand

A numeric.

swoosh, dot, path

Color

filename

File name to create on disk.

dpi

Plot resolution. Also accepts a string input: "retina" (320), "print" (300), or "screen" (72). Applies only to raster output types.

...

Other arguments passed on to the graphics device function, as specified by device.

bg

Background colour. If NULL, uses the plot.background fill value from the plot theme.

midground

Layers to insert behind the logo.

width, height

Size in inches.


heavywatal/rwtl documentation built on April 29, 2024, 2:02 a.m.