ggobi_display_save_picture {rggobi}R Documentation

Save picture of plot (and window) to disk

Description

This allows you to make a static copy of a GGobiDisplay.

Usage

ggobi_display_save_picture(display=displays(ggobi_get())[[1]], path="ggobi_display.png", filetype="png", plot.only = FALSE)

Arguments

display GGobiDisplay to save
path path to save to
filetype type of file to save
plot.only if TRUE, save only plot, otherwise save surrounding GUI elements as well

Details

If you want to make publicaiton quality graphics, you should probably use the DescribeDisplay plugin and package. This will recreate a GGobiDisplay in R, and so can produce high-quality vector (eg. pdf) output. See http://www.ggobi.org/describe-display for more information

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

g <- ggobi(mtcars)
ggobi_display_save_picture(displays(g)[[1]], "test.png")

[Package rggobi version 2.1.9 Index]