setDisplayWidth.ggobi {Rggobi} | R Documentation |
On occassion, it is convenient to be able to programmatically change the size of a window housing a ggobi display. This function attempts to allow one to do this. Unfortunately, it doesn't seem to have any effect.
setDisplayWidth.ggobi(sz, display=1, .gobi=getDefaultGGobi()) getDisplayWidth.ggobi(display=1, .gobi=getDefaultGGobi())
sz |
a vector giving the width and height to which the dimensions of the display window should be set. |
display |
an identifier for the particular display within the ggobi instance.
This can be either an object of class ggobiDisplay
or an integer. |
.gobi |
the ggobi instance in which to resolve the display .
This can be an object of class ggobi or an integer identifying
it by position in the list returned by getGGobi . |
This attempts to set the dimensions of the Gnome window.
The return value of these two functions
is an integer vector containing the
dimension (width and height) of the
window before this function was called.
In the case of setDisplayWidth.ggobi
,
this value is the old setting.
At present, these return c(0,0)
.
Duncan Temple Lang
The plot creation functions
scatmat.ggobi
,
scatterplot.ggobi
parcoords.ggobi
.
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") g$setDisplayWidth(c(200, 300), 1)