Method vpas
| Improve this Doc View Sourcevpas(Double, Double, Double, Double, Double)
plvpas: Specify viewport using coordinates and aspect ratio
Declaration
public void vpas(Double xmin, Double xmax, Double ymin, Double ymax, Double aspect)
Parameters
Type | Name | Description |
---|---|---|
Double | xmin | The normalized subpage coordinate of the left-hand edge of the viewport. |
Double | xmax | The normalized subpage coordinate of the right-hand edge of the viewport. |
Double | ymin | The normalized subpage coordinate of the bottom edge of the viewport. |
Double | ymax | The normalized subpage coordinate of the top edge of the viewport. |
Double | aspect | Ratio of length of y axis to length of x axis. |
Remarks
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.