rggobi (version 2.1.22)

ggobi_display_save_picture: 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