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

# plgvpd(3plplot)

Get viewport limits in normalized device coordinates

## NAME

**plgvpd** - Get viewport limits in normalized device coordinates

## SYNOPSIS

**plgvpd**(*p\_xmin*, *p\_xmax*, *p\_ymin*, *p\_ymax*)

## DESCRIPTION

Get viewport limits in normalized device coordinates.

Redacted form: General: **plgvpd(p\_xmin, p\_xmax, p\_ymin, p\_ymax)**

This function is used in example 31.

## ARGUMENTS

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

  Returned value of the lower viewport limit of the normalized device coordinate in x.

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

  Returned value of the upper viewport limit of the normalized device coordinate in x.

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

  Returned value of the lower viewport limit of the normalized device coordinate in y.

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

  Returned value of the upper viewport limit of the normalized device coordinate in y.

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