Usage
gplot.hexbin(x, style = "colorscale", legend = 1.2, lcex = 1,
minarea = 0.04, maxarea = 0.8, mincnt = 1, maxcnt = max(x@count),
trans = NULL, inv = NULL, colorcut = seq(0, 1, length = min(17, maxcnt)),
border = NULL, density = NULL, pen = NULL,
colramp = function(n) LinGray(n,beg = 90,end = 15),
xlab = "", ylab = "", main = "", newpage = TRUE,
type = c("p", "l", "n"), xaxt = c("s", "n"), yaxt = c("s", "n"),
clip = "on", verbose = getOption("verbose"))## S3 method for class 'hexbin,missing':
plot(x, style = "colorscale", legend = 1.2, lcex = 1,
minarea = 0.04, maxarea = 0.8, mincnt = 1, maxcnt = max(x@count),
trans = NULL, inv = NULL, colorcut = seq(0, 1, length = min(17, maxcnt)),
border = NULL, density = NULL, pen = NULL,
colramp = function(n) LinGray(n,beg = 90,end = 15),
xlab = "", ylab = "", main = "", newpage = TRUE,
type = c("p", "l", "n"), xaxt = c("s", "n"), yaxt = c("s", "n"),
clip = "on", verbose = getOption("verbose"))
Arguments
style
string specifying the style of hexagon plot,
see grid.hexagons
for the possibilities. legend
numeric width of the legend in inches of FALSE
.
In the latter case, or when 0
, no legend is not produced.
lcex
characters expansion size for the text in the legend
minarea
fraction of cell area for the lowest count
maxarea
fraction of the cell area for the largest count
mincnt
cells with fewer counts are ignored.
maxcnt
cells with more counts are ignored.
trans
function
specifying a transformation for
the counts such as sqrt
.inv
the inverse transformation of trans
.
colorcut
vector of values covering [0, 1] that determine
hexagon color class boundaries and hexagon legend size boundaries.
Alternatively, an integer (<= maxcnt<="" code="">) specifying the
number of equispaced colorcut values in [0,1].=>
border, density, pen
color for polygon borders and filling of
each hexagon drawn, passed to grid.hexagons
. colramp
function accepting an integer n
as an argument and
returning n colors.
xlab, ylab
x- and y-axis label.
newpage
should a new page start?.
type, xaxt, yaxt
strings to be used (when set to "n"
) for
suppressing the plotting of hexagon symbols, or the x- or y-axis,
respectively.
clip
either 'on' or 'off' are the allowed arguments, when on
everything is clipped to the plotting region.
verbose
logical indicating if some diagnostic output should happen.
...
all arguments of gplot.hexbin
can also be used for
the S4 plot
method.