Hexa: Function to draw an hexagon around a point

Description Usage Arguments Value Author(s)

Description

Draws an hexagon around a point of x and y coordinates

Usage

1
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


SOMEnv documentation built on July 26, 2021, 5:06 p.m.

Related to Hexa in SOMEnv...