saveBasicPlot: Save the plot object owned by an object of class/superclass...

Description Usage Arguments Value Functions

Description

Save a plot to an image file as part of the record process. This generally shouldn't need to be overwritten.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
saveBasicPlot(object, filename, ...)

## S4 method for signature 'PlotFeatureSet'
saveBasicPlot(
  object,
  filename,
  type = c("png", "jpeg", "jpg", "tiff", "tif", "bmp"),
  width = 7,
  height = 7,
  dpi = 300
)

Arguments

object

An object of (super)class PlotFeatureSet or plot object of class ggplot or trellis.

filename

The full filename, including path, where the plot should be saved.

...

Other named arguments passed on to the class-specific save method.

type

The type of image to save. Default is "png"; should be one of "jpeg", "jpg", "tiff", "tif", "png", or "bmp". In future versions, this should be automatically determined from the filename.

width

Width of output, in inches

height

Height of output, in inches

dpi

Resolution of output, in pixels per inch

Value

A boolean indicating success of the save operation.

Functions


trackr documentation built on May 24, 2021, 5:09 p.m.