PLPOIN(3plplot)

✨ PLPOIN(3plplot) ✨

okay so bestie, welcome to the PLplot API corner of the man pages 🫢 this one's about plpoin, and it's honestly giving "tiny but mighty" energy. let's get into it πŸ’…


🌸 NAME 🌸

plpoin β€” plot a glyph at the specified points ✨


πŸŽ€ SYNOPSIS πŸŽ€

plpoin(n, x, y, code)

πŸ¦‹ DESCRIPTION πŸ¦‹

So what it does: it plots a glyph at the points you tell it to πŸ’– lowkey straightforward.

okay but real talk β€” this function is largely superseded by plstring(3plplot), which gives you access to many[!] more glyphs. like, many. with the exclamation mark and everything. so keep that in mind πŸ‘‘

code=-1 means "just try to draw a point, bestie." right now it's literally just a move and a draw at the same place. not ideal, ngl β€” a sufficiently intelligent output device may optimize it away, or there may be faster ways of doing it. but it's OK for now, though, and it offers a 4X speedup over drawing a Hershey font "point" (which is actually diamond shaped and therefore takes 4 strokes to draw 😭). so like. we take those.

the rest of the code rules:

  • if 0 < code < 32, then a useful (but small subset) of Hershey symbols is plotted 🌸
  • if 32 <= code <= 127, the corresponding printable ASCII character is plotted ⭐

Redacted form: plpoin(x, y, code)

This function is used in examples 1, 6, 14, and 29 πŸŽ‰ (yes, four of them. she's booked and busy.)


πŸ’œ ARGUMENTS πŸ’œ

  • n (PLINT(3plplot), input) β€” number of points in the x and y vectors πŸ’«
  • x (PLFLT_VECTOR(3plplot), input) β€” a vector containing the x coordinates of points πŸ¦‹
  • y (PLFLT_VECTOR(3plplot), input) β€” a vector containing the y coordinates of points 🌈
  • code (PLINT(3plplot), input) β€” Hershey symbol code (in "ascii-indexed" form with -1 <= code <= 127) corresponding to a glyph to be plotted at each of the n points πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history πŸ’– honestly? legends. all of them. periodt.


🌟 SEE ALSO 🌟

PLplot documentation at http://plplot.sourceforge.net/documentation.php β€” go read it, iykwki πŸ‘€


aaaand that's the whole page, bestie πŸŽ€ no cap, you now know plpoin better than most people. this lil gem is from August, 2026, and it's the PLPOIN(3plplot) page straight out of the PLplot API β€” catch you in the next one πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from