PLGFONT(3plplot)
π PLGFONT(3plplot) β like, the PLplot API, bestie π
okay so real talk, this is page PLGFONT(3plplot) from the PLplot API and it's literally about peeking at your font's whole personality. let's get into it β¨
πΈ NAME πΈ
plgfont β get family, style and weight of the current font
like, it interrogates your font. respectfully. π«Ά
π¦ SYNOPSIS π¦
plgfont(p_family, p_style, p_weight)
that's it. three lil args. she's lowkey minimal. π
β¨ DESCRIPTION β¨
So plgfont gets information about the current font. simple as that. if you wanna know more about how font selection works, the PLplot documentation has you covered β go read it, it's giving reference material π
Redacted form: plgfont(p_family, p_style, p_weight)
This function is used in example 23. (yes, that example. iconic behavior honestly π)
π ARGUMENTS π
p_family(PLINT_NC_SCALAR(3plplot), output) β returns the current font family value. the available values live in thePL_FCI_*constants inplplot.h. current options arePL_FCI_SANS,PL_FCI_SERIF,PL_FCI_MONO,PL_FCI_SCRIPTandPL_FCI_SYMBOL. and ifp_familyisNULLthen the font family just... doesn't get returned. no family for you πp_style(PLINT_NC_SCALAR(3plplot), output) β returns the current font style value. again, the available values are given by thePL_FCI_*constants inplplot.h. current options arePL_FCI_UPRIGHT,PL_FCI_ITALICandPL_FCI_OBLIQUE. ifp_styleisNULLthen the font style is not returned. slay but make it conditional πp_weight(PLINT_NC_SCALAR(3plplot), output) β returns the current font weight value. same deal, the available values come from thePL_FCI_*constants inplplot.h. current options arePL_FCI_MEDIUMandPL_FCI_BOLD. ifp_weightisNULLthen the font weight is not returned. sometimes u just don't wanna know how bold she is π
fr fr bestie, thoseNULLcases are your escape hatch β passNULLfor anything you don't care about and it just won't be filled in. no cap, no error, just vibes. π
π AUTHORS π
Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history.
like, a lot of people. an entire ensemble cast. main character energy across the board ππ«Ά
β SEE ALSO β
PLplot documentation at http://plplot.sourceforge.net/documentation.php.
go click it, it's literally right there π¦
that's the whole page bestie, go forth and font-check responsibly β¨π
sign-off szn π β this page is PLGFONT(3plplot), dated August, 2026, and it came to you straight from the PLplot API. 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