Description Usage Arguments Value Functions
Save a plot to an image file as part of the record process. This generally shouldn't need to be overwritten.
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
)
|
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 |
A boolean indicating success of the save operation.
saveBasicPlot,PlotFeatureSet-method
: Save the plot object owned by an object of class/superclass PlotFeatureSet as an image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.