
Draws a hexagon on the current graphic device
hexagon(x,y,unitcell=1,col=NA,border="black")
x and y position of the bottom left corner of the square that would pack into the same space as the hexagon.
The dimension of the side of the abovementioned square.
The color to fill the hexagon - default is no fill.
The color of the perimeter of the hexagon.
nil