PLSTRING(3plplot)

πŸ’– NAME πŸ’–

okay so bestie, this is <pink>PLplot API</pink> and the star of the show is plstring β€” it plots a glyph at the specified points ✨


✨ SYNOPSIS ✨

plstring(n, x, y, string)

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It plots a glyph at the specified points. That's the whole vibe πŸ’…

And listen β€” it supersedes plpoin(3plplot) and plsym(3plplot), because many[!] more glyphs are accessible with plstring(3plplot). Like, many with an exclamation in brackets. That's how many. Iconic honestly.

The glyph is specified with a PLplot user string. And here's the thing β€” that user string is not actually limited to one glyph, so it's totally possible (tho not normally useful, ngl) to plot more than one glyph at the specified points with this function. Multiple glyphs. One function. Main character energy πŸ‘‘

And just like with plmtex(3plplot) and plptex(3plplot), that user string can contain:

  • FCI escapes to determine the font
  • UTF-8 code to determine the glyph
  • or else PLplot escapes for Hershey or unicode text to determine the glyph

Pick your fighter, bestie πŸŽ€

Redacted form: plstring(x, y, string)

This function is used in examples 4, 21 and 26. Noted, memorized, slaying 🫢


🌸 ARGUMENTS 🌸

  • n (PLINT(3plplot), input) β€” number of points in the x and y vectors. Like, how many points are we even doing here πŸ’€
  • x (PLFLT_VECTOR(3plplot), input) β€” a vector containing the x coordinates of the points πŸ“
  • y (PLFLT_VECTOR(3plplot), input) β€” a vector containing the y coordinates of the points πŸ“
  • string (PLCHAR_VECTOR(3plplot), input) β€” a UTF-8 character string containing the glyph(s) to be plotted at each of the n points πŸ”₯ yes, glyph(s), plural is allowed, we been knew

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. Fr fr, a whole community of legends πŸ«ΆπŸ’œ


🌈 SEE ALSO 🌈

PLplot documentation at http://plplot.sourceforge.net/documentation.php β€” go read it, iykyk πŸ“šβœ¨


cute little sign-off: this page is from the PLplot API, dated August, 2026, and it's PLSTRING(3plplot) all the way down πŸŽ€ bye bestie, go plot some glyphs πŸ’–
πŸ“¦ where this page comes from