---
name: "plarc"
section: "3plplot"
platform: "linux"
package: "plplot-doc"
version: "5.15.0+dfsg2-15"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/plarc"
---

# plarc(3plplot)

Draw a circular or elliptical arc

## NAME

**plarc** - Draw a circular or elliptical arc

## SYNOPSIS

**plarc**(*x*, *y*, *a*, *b*, *angle1*, *angle2*, *rotate*, *fill*)

## DESCRIPTION

Draw a possibly filled arc centered at *x*, *y* with semimajor axis *a* and semiminor axis *b*, starting at *angle1* and ending at *angle2*.

Redacted form: General: **plarc(x, y, a, b, angle1, angle2, rotate, fill)**

This function is used in examples 3 and 27.

## ARGUMENTS

- *x* (**PLFLT**(3plplot), input)

  X coordinate of arc center.

- *y* (**PLFLT**(3plplot), input)

  Y coordinate of arc center.

- *a* (**PLFLT**(3plplot), input)

  Length of the semimajor axis of the arc.

- *b* (**PLFLT**(3plplot), input)

  Length of the semiminor axis of the arc.

- *angle1* (**PLFLT**(3plplot), input)

  Starting angle of the arc relative to the semimajor axis.

- *angle2* (**PLFLT**(3plplot), input)

  Ending angle of the arc relative to the semimajor axis.

- *rotate* (**PLFLT**(3plplot), input)

  Angle of the semimajor axis relative to the X-axis.

- *fill* (**PLBOOL**(3plplot), input)

  Draw a filled arc.

## AUTHORS

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

## SEE ALSO

PLplot documentation at http://plplot.org/documentation.php.
