`plgpage`: Get page parameters
Prev | Chapter 18. The Common API for PLplot | Next

#### `plgpage`: Get page parameters

`plgpage (` | p_xp,
| p_yp,
| p_xleng,
| p_yleng,
| p_xoff,
| p_yoff`)`;

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.

`p_xp` (`PLFLT *`, output)

  Pointer to number of pixels/inch (DPI), x.

`p_yp` (`PLFLT *`, output)

  Pointer to number of pixels/inch (DPI) in y.

`p_xleng` (`PLINT *`, output)

  Pointer to x page length value.

`p_yleng` (`PLINT *`, output)

  Pointer to y page length value.

`p_xoff` (`PLINT *`, output)

  Pointer to x page offset.

`p_yoff` (`PLINT *`, output)

  Pointer to y page offset.

Redacted form: `plgpage(p_xp, p_yp, p_xleng, p_yleng, p_xoff, p_yoff)`

This function is used in examples 14 and 31.

Prev | Up | Next
`plglevel`: Get the (current) run level | Home | `plgra`: Switch to graphics screen