PLSVPA(3plplot)

πŸ’… PLSVPA β€” specify viewport in absolute coordinates

okay bestie, welcome to PLSVPA(3plplot), aka the PLplot page that lets you pin your viewport down in actual, honest-to-goodness millimeters ✨


🌸 SYNOPSIS

plsvpa(xmin, xmax, ymin, ymax)

πŸ’– DESCRIPTION

So plsvpa is the alternate routine to plvpor(3plplot) for setting up the viewport β€” same job, different vibe. The catch? You should only reach for this one if your viewport genuinely needs a definite size in millimeters. Like, actual measurable millimeters. Not vibes-based sizing, fr fr.

Also, if you ever need to find out the size of the current subpage, plgspa(3plplot) is your girl β€” she'll tell you exactly what you're working with. 🫢

Redacted form: plsvpa(xmin, xmax, ymin, ymax)

And fun fact: this function is used in example 10. πŸ™ˆ


πŸŽ€ ARGUMENTS

  • xmin (PLFLT(3plplot), input) β€” the distance of the left-hand edge of the viewport from the left-hand edge of the subpage, in millimeters.
  • xmax (PLFLT(3plplot), input) β€” the distance of the right-hand edge of the viewport from the left-hand edge of the subpage, in millimeters.
  • ymin (PLFLT(3plplot), input) β€” the distance of the bottom edge of the viewport from the bottom edge of the subpage, in millimeters.
  • ymax (PLFLT(3plplot), input) β€” the distance of the top edge of the viewport from the bottom edge of the subpage, in millimeters.
not me clocking that xmax and ymax are both measured from the left and bottom edges respectively β€” keep that in mind so your viewport doesn't come out cursed πŸ’€

πŸ‘‘ AUTHORS

Many developers have contributed to PLplot over its long history β€” and yes, they're all credited at http://plplot.sourceforge.net/credits.php. Legends, honestly. 🌈


πŸ¦‹ SEE ALSO

PLplot documentation at http://plplot.sourceforge.net/documentation.php. Go read it, iykyk. πŸ“š


that's the whole page, bestie β€” go forth and specify your viewports with confidence πŸ’œβœ¨

signing off from the PLplot API, August, 2026 edition of PLSVPA(3plplot) πŸŽ€

πŸ“¦ where this page comes from