drawArc: Compute the points on an arc starting with the coordinates of...

Description Usage Arguments Value Author(s)

Description

Compute the points on an arc based on the coordinates of the starting and ending points

Usage

1
drawArc(x, y, center, r, ...)

Arguments

x

a two-item numeric vector for the xy coordinates of the starting point relative to the center point

y

a two-item numeric vector for the xy coordinates of the ending point relative to the center point

center

a two-item numeric vector for the xy coordinates of the center point for the arc

r

a numeric value for the radius of the circle

...

Optional argment to specify the number of points on the arc

Value

a two-column matrix of xy coordinates for points along the arc

Author(s)

Elliot Noma



Search within the PlotRegionHighlighter package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.