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

# plprec(3plplot)

Set precision in numeric labels

## NAME

**plprec** - Set precision in numeric labels

## SYNOPSIS

**plprec**(*setp*, *prec*)

## DESCRIPTION

Sets the number of places after the decimal point in numeric labels.

Redacted form: **plprec(setp, prec)**

This function is used in example 29.

## ARGUMENTS

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

  If *setp* is equal to 0 then PLplot automatically determines the number of places to use after the decimal point in numeric labels (like those used to label axes).  If *setp* is 1 then *prec* sets the number of places.

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

  The number of characters to draw after the decimal point in numeric labels.

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