getPlotWidgets.ggobiDisplay {Rggobi}R Documentation

Retrieve GtkWidget objects for plots in GGobi display

Description

This retrieves the GtkWidget objects corresponding to the individual plots within a GGobi display and make them available for direct use within R. One can then add callabacks to individual widgets, reparent a widget, draw on the widget, etc. and generally manipulate using functions from the RGtk package.

Usage

getPlotWidgets.ggobiDisplay(dpy, expandClasses = TRUE)

Arguments

dpy the GGobi display in which to find the plot widgets. This should be an object of class ggobiDisplay.
expandClasses a logical value indicating whether to compute the actual class of the widgets or whether to return them as generic GtkObjects.

Value

A list with as many elements as there are splotd elements within the GGobi display. Each element is a GtkObject.

See Also

getDisplays.ggobi

Examples

 data(mtcars)
 ggobi(mtcars)
 dpy = parcoords.ggobi(1:4)
 getPlotWidgets.ggobiDisplay(dpy)

[Package Rggobi version 1.1-3 Index]