PLSESC(3plplot)

πŸ’… PLSESC β€” set the escape character for text strings (yes bestie, it's a 3plplot moment)

Okay so real talk, this page is from the PLplot API and it's all about plsesc. Let's get into it 🫢


✨ SYNOPSIS ✨

plsesc(esc)

πŸŽ€ DESCRIPTION πŸŽ€

So plsesc sets the escape character for text strings. That's the whole vibe. ✨

Now, here's the tea: from C β€” and this is different from Fortran, so if you're a Fortran bestie go look at plsescfortran(3plplot) instead β€” you pass esc as a character. πŸ’–

But not any character, no ma'am. Only selected characters are allowed, and honestly that's a protective move so you don't shoot yourself in the foot πŸ™ˆ (for example, a \ isn't allowed since it conflicts with C's use of backslash as a character escape β€” lowkey makes sense, no cap). So here are the allowed escape characters and their corresponding decimal ASCII values, iconic list incoming:

  • !, ASCII 33
  • #, ASCII 35
  • $, ASCII 36
  • %, ASCII 37
  • &, ASCII 38
  • *, ASCII 42
  • @, ASCII 64
  • ^, ASCII 94
  • ~, ASCII 126

Redacted form: General: plsesc(esc)

Also fun fact: this function is used in example 29. Slay. πŸ”₯


🌸 ARGUMENTS 🌸

  • esc (char, input) β€” the escape character. That's it, that's the whole argument. πŸ’œ

πŸ‘‘ 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 squad. 🫢


🌈 SEE ALSO 🌈

PLplot documentation at http://plplot.sourceforge.net/documentation.php β€” go read it, iykyk. ⭐


And that's the whole manual page bestie, go set that escape char and be the main character of your text strings πŸ’…βœ¨

kisses from the PLplot API, August 2026 edition β€” PLSESC(3plplot), periodt πŸ¦‹

πŸ“¦ where this page comes from