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

# plgpage(3plplot)

Get page parameters

## NAME

**plgpage** - Get page parameters

## SYNOPSIS

**plgpage**(*p\_xp*, *p\_yp*, *p\_xleng*, *p\_yleng*, *p\_xoff*, *p\_yoff*)

## DESCRIPTION

Gets the current page configuration. The length and offset values are expressed in units that are specific to the current driver. For instance: screen drivers will usually interpret them as number of pixels, whereas printer drivers will usually use mm.

Redacted form: **plgpage(p\_xp, p\_yp, p\_xleng, p\_yleng, p\_xoff, p\_yoff)**

This function is used in examples 14 and 31.

## ARGUMENTS

- *p\_xp* (**PLFLT\_NC\_SCALAR**(3plplot), output)

  Returned value of the number of pixels/inch (DPI) in x.

- *p\_yp* (**PLFLT\_NC\_SCALAR**(3plplot), output)

  Returned value of the number of pixels/inch (DPI) in y.

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

  Returned value of the x page length.

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

  Returned value of the y page length.

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

  Returned value of the x page offset.

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

  Returned value of the y page offset.

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