setDisplayOptions.ggobi {Rggobi} | R Documentation |
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.
getDisplayOptions.ggobi(which=1, .gobi=getDefaultGGobi()) setDisplayOptions.ggobi(points, axes, axesLabels, axesValues, directed, undirected, arrowheads, whiskers, current = NULL, display = 1, .gobi=getDefaultGGobi())
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. |
The previous settings that were in effect before this call.
Duncan Temple Lang
# untested data(mtcars) ggobi(mtcars) old <- setDisplayOptions.ggobi(axes=FALSE) scatterplot.ggobi("mpg", "am") # restore the old settings. setDisplayOptions.ggobi(old)