setDisplayOptions.ggobi {Rggobi}R Documentation

Controls the basic display settings for ggobi

Description

This allows one to set the settings that control how ggobi displays its plots. These have effect on all plots created after the settings have been registered, and are not applied to existing plots.

Usage

getDisplayOptions.ggobi(which=1, .gobi=getDefaultGGobi())
setDisplayOptions.ggobi(points, directed, undirected, segments, missings, axes, display, .gobi=getDefaultGGobi())

Arguments

which the identifier for the display of interest, either an index or a ggobiDisplay object.
display the display identifier, either an integer giving the index in the list of displays within the GGobi instance, or an object of class ggobiDisplay
points logical value indicating whether points are to be displayed on a plot.
directed logical value indicating whether the line segments are to be shown as directed (TRUE) or undirected (FALSE) line segments.
undirected
segments
missings
axes whether axes should be displayed with the plot or not.
.gobi the ggobi instance for which the settings are to be applied.

Value

The previous settings that were in effect before this call.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

getDisplayOptions.ggobi

Examples

 # untested

 data(mtcars)
 ggobi(mtcars)

 old <- setDisplayOptions.ggobi(axes=FALSE)
 scatterplot.ggobi("mpg", "am")

   # restore the old settings.
 setDisplayOptions.ggobi(old)

[Package Contents]