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, axes, axesLabels, axesValues,
                         directed, undirected, arrowheads,
                          whiskers, current = NULL,
                           display = 1, .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.
axes whether the rulers/axes should be visible on the display or not.
axesLabels a logical value controlling whether the axes are show within a tour.
axesValues a logical value, whether the current values for the different axes are displayed on the plot within a tour.
directed logical value indicating whether the line segments are to be shown as directed (TRUE) or undirected (FALSE) line segments.
undirected whether line segments are to be shown or not.
arrowheads whether to show arrowheads on the line segments
whiskers whether to show whiskers in time-series or parallel coordinate plots, or edges in scatter plots.
current a logical vector giving values for the individual settings. This is typically obtained from calling getDisplayOptions.ggobi and then modifying the individual entries. One can also specify the individual values with the earlier arguments.
.gobi the ggobi instance for which the settings are to be applied. If this is NULL, the settings are applied to the default options and will affect displays created subsequently. In other words, one can specify default values for new displays.

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 Rggobi version 1.1-2 Index]