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

# plsxax(3plplot)

Set x axis parameters

## NAME

**plsxax** - Set x axis parameters

## SYNOPSIS

**plsxax**(*digmax*, *digits*)

## DESCRIPTION

Sets values of the *digmax* and *digits* flags for the x axis.  See the PLplot documentation for more information.

Redacted form: **plsxax(digmax, digits)**

This function is used in example 31.

## ARGUMENTS

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

  Variable to set the maximum number of digits for the x axis.  If nonzero, the printed label will be switched to a floating-point representation when the number of digits exceeds *digmax*.

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

  Field digits value.  Currently, changing its value here has no effect since it is set only by [**plbox**(3plplot)](/plbox/3plplot.md) or [**plbox3**(3plplot)](/plbox3/3plplot.md).  However, the user may obtain its value after a call to either of these functions by calling [**plgxax**(3plplot)](/plgxax/3plplot.md).

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