plotdev: Switch between plot devices

View source: R/plotUtils.R

plotdevR Documentation

Switch between plot devices

Description

Switch between plot devices

Usage

plotdev(
  file.name = "test",
  type = "png",
  width = 5,
  height = 5,
  res = 100,
  bg = "white"
)

Arguments

file.name

file name without suffix (.png, etc)

type

plot type: png, jpeg, eps, pdf, tiff or svg

width

figure width in inches

height

figure height in inches

res

resolution in ppi (pixels per inch), only for 'png' and 'tiff'

bg

background color


raim/segmenTools documentation built on March 20, 2024, 6:23 a.m.