ggobi_display_save_picture {rggobi} | R Documentation |
This allows you to make a static copy of a GGobiDisplay.
ggobi_display_save_picture(display=displays(ggobi_get())[[1]], path="ggobi_display.png", filetype="png", plot.only = FALSE)
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 |
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
Hadley Wickham <h.wickham@gmail.com>
g <- ggobi(mtcars) ggobi_display_save_picture(displays(g)[[1]], "test.png")