trelliscope (version 0.9.7)

makePNG: Make a png for a Subset

Description

Make a png for a subset of an object of class "ddo" or "ddf". The user should never need to call this directly, but the viewer needs it, so it is exported with this documentation.

Usage

makePNG(dat, panelFn = NULL, file, width, height, origWidth = width, res = 72, basePointSize = 12, lims = NULL, pixelratio = 2)

Arguments

dat
a key-value pair
panelFn
panel function
file
file name for png
width, height, res
width, height, and resolution
origWidth
the original specified width of the plot
basePointSize
the base point size to use (for png pointsize argument)
lims
axis limits
pixelratio
pixel ratio of screen to which plot will be rendered (e.g. 2 for a retina display)

See Also

makeDisplay

Examples

Run this code
# see examples for makeDisplay()

Run the code above in your browser using DataLab