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

# plline3(3plplot)

Draw a line in 3 space

## NAME

**plline3** - Draw a line in 3 space

## SYNOPSIS

**plline3**(*n*, *x*, *y*, *z*)

## DESCRIPTION

Draws line in 3 space defined by *n* points in *x*, *y*, and *z*. You must first set up the viewport, the 2d viewing window (in world coordinates), and the 3d normalized coordinate box.  See x18c.c for more info.

Redacted form: **plline3(x, y, z)**

This function is used in example 18.

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

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

  A vector containing the z 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.
