plvpas: Specify viewport using coordinates and aspect ratio

`plvpas`: Specify viewport using coordinates and aspect ratio
Prev | Chapter 18. The Common API for PLplot | Next

#### `plvpas`: Specify viewport using coordinates and aspect ratio

`plvpas (` | xmin ,
| xmax ,
| ymin ,
| ymax ,
| aspect `)`;

Device-independent routine for setting up the viewport. The viewport is chosen to be the largest with the given aspect ratio that fits within the specified region (in terms of normalized subpage coordinates). This routine is functionally equivalent to `plvpor` when a ``natural'' aspect ratio (0.0) is chosen. Unlike `plvasp`, this routine reserves no extra space at the edges for labels.

`xmin` (``PLFLT``, input)

  The normalized subpage coordinate of the left-hand edge of the viewport.

`xmax` (``PLFLT``, input)

  The normalized subpage coordinate of the right-hand edge of the viewport.

`ymin` (``PLFLT``, input)

  The normalized subpage coordinate of the bottom edge of the viewport.

`ymax` (``PLFLT``, input)

  The normalized subpage coordinate of the top edge of the viewport.

`aspect` (``PLFLT``, input)

  Ratio of length of y axis to length of x axis.

Redacted form: `plvpas(xmin, xmax, ymin, ymax, aspect)`

This function is used in example 9.

Prev | Up | Next
`plvect`: Vector plot | Home | `plvpor`: Specify viewport using normalized subpage coordinates