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",
  mai,
  overlap,
  w = 0.25,
  h = 0.2,
  verb = 0
)

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

mai

optional par("mai") setting, used for automatic plot dimensions

overlap

an object of class clusterOverlaps from which plot dimensions are calculated; useful for plotOverlaps and dotplot


raim/segmenTools documentation built on July 5, 2025, 4:34 a.m.