plarc: Draw a circular or elliptical arc

`plarc`: Draw a circular or elliptical arc
Prev | Chapter 18. The Common API for PLplot | Next

#### `plarc`: Draw a circular or elliptical arc

`plarc (` | x,
| y,
| a,
| b,
| angle1,
| angle2,
| rotate,
| fill`)`;

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

`x` (``PLFLT``, input)

  X coordinate of arc center.

`y` (``PLFLT``, input)

  Y coordinate of arc center.

`a` (``PLFLT``, input)

  Length of the semimajor axis of the arc.

`b` (``PLFLT``, input)

  Length of the semiminor axis of the arc.

`angle1` (``PLFLT``, input)

  Starting angle of the arc relative to the semimajor axis.

`angle2` (``PLFLT``, input)

  Ending angle of the arc relative to the semimajor axis.

`rotate` (``PLFLT``, input)

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

`fill` (``PLBOOL``, input)

  Draw a filled arc.

Redacted form:

- General: `plarc(x, y, a, b, angle1, angle2, rotate, fill)`

This function is used in examples 3 and 27.

Prev | Up | Next
`pladv`: Advance the (sub-)page | Home | `plaxes`: Draw a box with axes, etc. with arbitrary origin