Usage
grid.hexlegend(legend, ysize, lcex, inner, style = ,
minarea = 0.05, maxarea = 0.8, mincnt = 1, maxcnt, trans = NULL,
inv = NULL, colorcut, density = NULL, border = NULL, pen = NULL,
colramp = function(n) { LinGray(n,beg = 90,end = 15) },
leg.unit = "native")
Arguments
legend
positive number giving width of the legend in inches.
ysize
height of legend in inches
lcex
the characters expansion size for the text in the legend,
see par(cex=)
. inner
the inner diameter of a hexagon in inches.
minarea, maxarea
fraction of the cell area for the lowest and largest
count, respectively.
mincnt, maxcnt
minimum and maximum count accepted in plot
.
trans
a transformation function for the counts such as
sqrt
. inv
the inverse transformation function.
colorcut
numeric vector of values covering [0, 1] the determine
hexagon color classes boundaries and hexagon legend size boundaries.
border
argument for polygon()
. Draw the border
for each hexagon. density
argument for polygon()
filling. A
0
causes the polygon not to be filled. pen
color argument used for polygon(col = .)
.
Determines the color with which the polygon will be filled. colramp
function accepting an integer n
as an argument and
returning n colors.