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

# plgxax(3plplot)

Get x axis parameters

## NAME

**plgxax** - Get x axis parameters

## SYNOPSIS

**plgxax**(*p\_digmax*, *p\_digits*)

## DESCRIPTION

Returns current values of the *p\_digmax* and *p\_digits* flags for the x axis.  *p\_digits* is updated after the plot is drawn, so this routine should only be called after the call to [**plbox**(3plplot)](/plbox/3plplot.md) (or [**plbox3**(3plplot)](/plbox3/3plplot.md)) is complete.  See the PLplot documentation for more information.

Redacted form: **plgxax(p\_digmax, p\_digits)**

This function is used in example 31.

## ARGUMENTS

- *p\_digmax* (**PLINT\_NC\_SCALAR**(3plplot), output)

  Returned value of the maximum number of digits for the x axis.  If nonzero, the printed label has been switched to a floating-point representation when the number of digits exceeds this value.

- *p\_digits* (**PLINT\_NC\_SCALAR**(3plplot), output)

  Returned value of the actual number of digits for the numeric labels (x axis) from the last plot.

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