Description Usage Arguments Details Value Author(s) See Also Examples

Draw one or more elliptic or circular arcs from `angle.beg`

to `angle.end`

on an existing plot using classic graphics.

1 2 3 4 |

`x, y` |
a vector (or scalar) of xy-coordinates of the center(s) of the arc(s). |

`rx` |
a scalar or a vector giving the semi-major axis of the ellipse for the arc(s) |

`ry` |
a scalar or a vector giving the semi-minor axis of the ellipse for the arc(s). Default is radius.x which will result in a circle arc with radius.x. |

`theta.1` |
a scalar or a vector of starting angles in radians. |

`theta.2` |
a scalar or a vector of ending angles in radians. |

`nv` |
number of vertices used to plot the arc. Scalar or vector. |

`col` |
color for the arc(s). Scalar or vector. |

`lty` |
line type used for drawing. |

`lwd` |
line width used for drawing. |

`plot` |
logical. If |

All parameters are recycled if necessary.

Be sure to use an aspect ratio of 1 as shown in the example to avoid distortion.

`DrawArc`

invisibly returns a list of the calculated coordinates for all shapes.

Andri Signorell <andri@signorell.net>

1 2 |

DescTools documentation built on May 19, 2017, 1:25 p.m.

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

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

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.