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

# plgdidev(3plplot)

Get parameters that define current device-space window

## NAME

**plgdidev** - Get parameters that define current device-space window

## SYNOPSIS

**plgdidev**(*p\_mar*, *p\_aspect*, *p\_jx*, *p\_jy*)

## DESCRIPTION

Get relative margin width, aspect ratio, and relative justification that define current device-space window. If [**plsdidev**(3plplot)](/plsdidev/3plplot.md) has not been called the default values pointed to by *p\_mar*, *p\_aspect*, *p\_jx*, and *p\_jy* will all be 0.

Redacted form: **plgdidev(p\_mar, p\_aspect, p\_jx, p\_jy)**

This function is used in example 31.

## ARGUMENTS

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

  Returned value of the relative margin width.

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

  Returned value of the aspect ratio.

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

  Returned value of the relative justification in x.

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

  Returned value of the relative justification 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.
