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

# plwidth(3plplot)

Set pen width

## NAME

**plwidth** - Set pen width

## SYNOPSIS

**plwidth**(*width*)

## DESCRIPTION

Sets the pen width.

Redacted form: **plwidth(width)**

This function is used in examples 1 and 2.

## ARGUMENTS

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

  The desired pen width.  If *width* is negative or the same as the previous value no action is taken. *width* = 0.  should be interpreted as as the minimum valid pen width for the device.  The interpretation of positive *width* values is also device dependent.

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