grid_calc: Calculate Grid Lines

Description Usage Arguments Value Author(s) References Examples

Description

Calculate gridlines to plot ontop of an image.

Usage

1
grid_calc(columns = 30, rows = columns)

Arguments

columns

The number of columns.

rows

The number of rows.

Value

Returns a list of 4:

coords

The coordinates to utilize for plotting the grid

columns

The number of columns

rows

The number of rows

points

points and labels

Author(s)

Troy (stackoverflow.com) and Tyler Rinker <tyler.rinker@gmail.com>.

References

http://stackoverflow.com/a/21043587/1000343

Examples

1

trinker/embodied documentation built on May 31, 2019, 8:42 p.m.