PLSTRIPC(3plplot)

πŸ’… PLSTRIPC β€” a.k.a. PLSTRIPC(3plplot), the PLplot API girlies' favourite

Ok so bestie, gather round, because this page is from the PLplot API manual and it's about making a 4-pen strip chart. Yes, four pens. We're fancy like that. πŸ–ŠοΈπŸ–ŠοΈπŸ–ŠοΈπŸ–ŠοΈ


✨ NAME ✨

plstripc β€” create a 4-pen strip chart. That's it, that's the whole name. Main character function energy fr fr. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos,
y_ascl, acc, colbox, collab, colline, styline, legline[], labx, laby,
labtop)

Like, look at all those arguments. She's high maintenance and honestly? Slay. πŸ’…


🌸 DESCRIPTION 🌸

So basically you call plstripc to create a 4-pen strip chart, and then afterwards you feed it data with plstripa(3plplot) β€” that's the whole vibe. The chart is the moment, plstripa is how you keep it fed. πŸ“

Redacted form, for the girlies who like the short version: General: plstripc(id, xspec, yspec, xmin, xmax, xjump, ymin, ymax, xlpos, ylpos, y_ascl, acc, colbox, collab, colline, styline, legline, labx, laby, labz)

πŸ’‘ Fun fact so you don't get lost in the source code: this function is the one used in example 17. Go look at it, it's giving tutorial realness. ✨

πŸŽ€ ARGUMENTS πŸŽ€

Every single one, no skips, bestie. We do not gatekeep parameters here. 🫢

  • id (PLINT_NC_SCALAR(3plplot), output) β€” this is the returned value of the identification number of the strip chart. You'll need it for plstripa(3plplot) and plstripd(3plplot), so like… don't lose her. πŸ’€
  • xspec (PLCHAR_VECTOR(3plplot), input) β€” an ascii character string containing the x-axis specification, exactly like in plbox(3plplot).
  • yspec (PLCHAR_VECTOR(3plplot), input) β€” an ascii character string containing the y-axis specification, exactly like in plbox(3plplot). Twins. πŸ‘―
  • xmin (PLFLT(3plplot), input) β€” initial coordinates of the plot box; they will change as data are added. She moves, ok?
  • xmax (PLFLT(3plplot), input) β€” initial coordinates of the plot box; they will change as data are added.
  • xjump (PLFLT(3plplot), input) β€” when x attains xmax, the length of the plot is multiplied by the factor (1 + xjump). That's the glow-up growth spurt. πŸ“ˆ
  • ymin (PLFLT(3plplot), input) β€” initial coordinates of the plot box; they will change as data are added.
  • ymax (PLFLT(3plplot), input) β€” initial coordinates of the plot box; they will change as data are added.
  • xlpos (PLFLT(3plplot), input) β€” X legend box position (range from 0 to 1). Keep it in range, no cap. 🎯
  • ylpos (PLFLT(3plplot), input) β€” Y legend box position (range from 0 to 1).
  • y_ascl (PLBOOL(3plplot), input) β€” autoscale y between x jumps if y_ascl is true, otherwise not. Bool girlie behaviour. πŸ”₯
  • acc (PLBOOL(3plplot), input) β€” accumulate the strip plot if acc is true, otherwise slide the display. Pick your lane. πŸ’«
  • colbox (PLINT(3plplot), input) β€” plot box color index (cmap0).
  • collab (PLINT(3plplot), input) β€” legend color index (cmap0).
  • colline (PLINT_VECTOR(3plplot), input) β€” a vector containing the cmap0 color indices for the 4 pens. Four! Pens! 🌈
  • styline (PLINT_VECTOR(3plplot), input) β€” a vector containing the line style indices for the 4 pens.
  • legline (PLCHAR_MATRIX(3plplot), input) β€” a vector of UTF-8 character strings containing legends for the 4 pens. Give them cute names, they deserve it. πŸŽ€
  • labx (PLCHAR_VECTOR(3plplot), input) β€” a UTF-8 character string containing the label for the x axis.
  • laby (PLCHAR_VECTOR(3plplot), input) β€” a UTF-8 character string containing the label for the y axis.
  • labtop (PLCHAR_VECTOR(3plplot), input) β€” a UTF-8 character string containing the plot title. The lewk of the whole chart, honestly. πŸ‘‘

πŸ‘‘ AUTHORS πŸ‘‘

Many developers (who are credited at http://plplot.sourceforge.net/credits.php) have contributed to PLplot over its long history. Legends only. We stan a collective effort. πŸ’œ


🌟 SEE ALSO 🌟


⭐ Friendly reminder bestie: id is an output β€” it comes back to you, so have somewhere to put it, and don't go throwing it away before you've used it on plstripa(3plplot) and plstripd(3plplot).

Ok that's the whole page, mwah. This little love letter lives in the PLplot API manual, tagged PLSTRIPC(3plplot), dated August, 2026 β€” periodt. πŸ’–πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from