`plfill`: Draw filled polygon
Prev | Chapter 18. The Common API for PLplot | Next

#### `plfill`: Draw filled polygon

`plfill (` | n,
| x,
| y`)`;

Fills the polygon defined by the ``n`` points `(`x`[i], `y`[i])` using the pattern defined by `plpsty` or `plpat`. The default fill style is a solid fill. The routine will automatically close the polygon between the last and first vertices. If multiple closed polygons are passed in ``x`` and ``y`` then `plfill` will fill in between them.

`n` (``PLINT``, input)

  Number of vertices in polygon.

`x` (``PLFLT_VECTOR``, input)

  A vector containing the x coordinates of vertices.

`y` (``PLFLT_VECTOR``, input)

  A vector containing the y coordinates of vertices.

Redacted form: `plfill(x,y)`

This function is used in examples 12, 13, 15, 16, 21, 24, and 25.

Prev | Up | Next
`plfamadv`: Advance to the next family file on the next new page | Home | `plfill3`: Draw filled polygon in 3D