Hexa {SOMEnv}R Documentation

Function to draw an hexagon around a point

Description

Draws an hexagon around a point of x and y coordinates

Usage

Hexa(x, y, color = NA, border = "gray", unitcell = 1)

Arguments

x

X-coordinate of the hexagon center

y

Y-coordinate of the hexagon center

color

Filling color of the hexagon (default NA)

border

Border color of the hexagon (default "gray")

unitcell

The distance side to side between two parallel sides of the hexagon (default 1)

Value

This function draws an hexagon on a plot

Author(s)

Sabina Licen


[Package SOMEnv version 1.1.2 Index]