hexVP-class {hexbin} | R Documentation |
Hexagon Viewports are “value-added” grid viewports (see
viewport
) where the extra slots contain scaling and
“embedding” information.
Objects are typically created by calls to hexViewport()
or by low level calls of the form new("hexVP", ...)
.
hexVp
:"viewport"
, see
viewport
.mar
:unit
vector of four margins
(typically in "lines"
).fig
:unit
vector of two figure sizes
(typically in "npc"
).plt
:unit
vector of two figure sizes
(typically in "npc"
).xscale
:yscale
:These are methods accessing the slots of corresponding name.
signature(hvp = "hexVP")
: ... signature(hvp = "hexVP")
: ... signature(hvp = "hexVP")
: ... signature(hvp = "hexVP")
: ... signature(hvp = "hexVP")
: ... Nicholas Lewin-Koh kohnicho@comp.nus.edu.sg.
The constructor function hexViewport
.
hexbin
, and its S4 plotting method,
gplot.hexbin
.
example(hexViewport, echo=FALSE) ## continued: str(P$plot.vp)