PLSCHR(3plplot)
π PLSCHR(3plplot) β the PLplot API one, bestie
ok so you're in the PLplot API section and the page is literally called PLSCHR(3plplot) β yeah it's a mouthful, we deal. anyway, this is the whole glow-up guide to making your text bigger or smaller. slay.
β¨ NAME β¨
plschr β set character size, no cap π
πΈ SYNOPSIS πΈ
plschr(def, scale)
that's it. two args. you got this. π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea: this one sets up the size of all subsequent characters drawn. every letter that comes after you call this gets the new size. main character energy for your text, fr fr.
the actual height of a character is the product of the default character size and a scaling factor. that's the whole math. multiply, and go. β¨
Redacted form: plschr(def, scale) β same thing, just written out plain π
This function is used in examples 2, 13, 23, and 24. yes, four whole examples. iconic.
π ARGUMENTS π
def(PLFLT(3plplot), input) β the default height of a character in millimeters. should be set tozeroif the default height is to remain unchanged (so like, if you're happy with what you got, pass a0and let it be π). For rasterized drivers thedxanddyvalues specified inplspage(3plplot)are used to convert from mm to pixels β and yes, note the different unit systems used, that's not a typo, they're different on purpose. This dpi aware scaling is not implemented for all drivers yet, so don't come for me if your driver hasn't caught up πscale(PLFLT(3plplot), input) β the scale factor to be applied to default to get actual character height. so like, the multiplier. the vibe adjuster.2= big text,0.5= tiny text, do your thing. π₯
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. legends, honestly. all of them. π«‘
β SEE ALSO β
PLplot documentation at http://plplot.sourceforge.net/documentation.php. go read it, iykyk. π
π reminder bestie: passingzerofordefkeeps the default height unchanged, and the dpi aware mmβpixel scaling is not implemented for all drivers yet. don't say i didn't warn you.
so yeah, that's plschr. go forth and resize. π§
August, 2026 β PLSCHR(3plplot), fresh off the PLplot API press, mwah ππ·
π¦ where this page comes from
- ubuntu stonking: plplot-doc 5.15.0+dfsg3-4 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms