grid.get {grid} | R Documentation |
A Grid graphical object contains a list structure; this function returns that list structure.
grid.get(grob, ...)
grob |
An object of class "grob" . |
... |
Zero or more element-specifiers. Each specifier may be a single character or numeric value. |
If there are no specifiers then the value returned is just the
list structure of the grob
. If there is a specifier
and the list structure of the grob
has a corresponding
element, and that element is an object of class "grob"
,
then the return value is the list structure within that element.
And so on ...
Typically, users will not need to call this function, even when writing their own graphical objects. Most graphical object methods will work only with the list structure.
A list structure.
Paul Murrell
xa <- grid.xaxis(draw=FALSE) grid.get(xa) grid.get(xa, "ticks") temp <- grid.collection(axis=grid.xaxis(draw=FALSE)) grid.get(temp, "children", "axis", "ticks")