gridlabs: Labels of grid vertices, faces and edges.

View source: R/plot-2d-grid.R

gridlabsR Documentation

Labels of grid vertices, faces and edges.

Description

This function will show where the grid elements are located.

Usage

gridlabs(gridObj, type = "f", crs = NULL, ...)

Arguments

gridObj

(trigrid, hexagrid) An icosahedral grid.

type

(character) The type of element to be plotted: either "f" (faces), "v" (vertices) or "e" (edges).

crs

(character or crs) A coordinate system for the transformation of coordinates.

...

Arguments passed to the text function.

Value

The function has no return value.

Examples

gr <- hexagrid(sp=TRUE)
plot(gr)
gridlabs(gr)

adamkocsis/icosa documentation built on April 16, 2023, 10:05 p.m.