plvpas(3plplot)

plvpas3plplot

Specify viewport using coordinates and aspect ratio

Usage

plvpas(xmin, xmax, ymin, ymax, aspect)

Overview

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(3plplot) when a ``natural'' aspect ratio (0.0) is chosen. Unlike plvasp(3plplot), this routine reserves no extra space at the edges for labels.

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

This function is used in example 9.

Arguments

xmin (PLFLT(3plplot), input)

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

xmax (PLFLT(3plplot), input)

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

ymin (PLFLT(3plplot), input)

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

ymax (PLFLT(3plplot), input)

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

aspect (PLFLT(3plplot), input)

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

Releases

11 releases since Debian 3.1 (Sarge); the text changed 10 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7
  6. 8
  7. 9
  8. 10
  9. 11
  10. 12
  11. 13

Authors

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

From plplot-doc 5.15.0+dfsg2-15 in Debian 13 (Trixie). Parsed by carta from the page's man source.