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

# plline(3plplot)

Draw a line

## NAME

**plline** - Draw a line

## SYNOPSIS

**plline**(*n*, *x*, *y*)

## DESCRIPTION

Draws line defined by *n* points in *x* and *y*.

Redacted form: **plline(x, y)**

This function is used in examples 1, 3, 4, 9, 12-14, 16, 18, 20, 22, 25-27, and 29.

## ARGUMENTS

- *n* (**PLINT**(3plplot), input)

  Number of points defining line.

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

  A vector containing the x coordinates of points.

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

  A vector containing the y coordinates of points.

## 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.
