plgspa: Get current subpage parameters

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. The Common API for PLplot | Next

### `plgspa`: Get current subpage parameters

`plgspa` (xmin, xmax, ymin, ymax);

Gets the size of the current subpage in millimeters measured from the bottom left hand corner of the output device page or screen. Can be used in conjunction with `plsvpa` for setting the size of a viewport in absolute coordinates (millimeters).

`xmin` (`PLFLT *`, output) Pointer to variable with position of left hand edge of subpage in millimeters. `xmax` (`PLFLT *`, output) Pointer to variable with position of right hand edge of subpage in millimeters. `ymin` (`PLFLT *`, output) Pointer to variable with position of bottom edge of subpage in millimeters. `ymax` (`PLFLT *`, output) Pointer to variable with position of top edge of subpage in millimeters.

Redacted form: `plgspa(xmin, xmax, ymin, ymax)`

This function is used in example 23.

Prev | Home | Next
`plgriddata`: Grid data from irregularly sampled data | Up | `plgstrm`: Get current stream number