`plsesc`: Set the escape character for text strings
Prev | Chapter 17. The Common API for PLplot | Next

#### `plsesc`: Set the escape character for text strings

`plsesc (` | esc `)`;

Set the escape character for text strings. From C (in contrast to Fortran, see `plsescfortran`) you pass ``esc`` as a character. Only selected characters are allowed to prevent the user from shooting himself in the foot (For example, a “\” isn't allowed since it conflicts with C's use of backslash as a character escape). Here are the allowed escape characters and their corresponding decimal ASCII values:

- “!”, ASCII 33

- “#”, ASCII 35

- “$”, ASCII 36

- “%”, ASCII 37

- “&”, ASCII 38

- “*”, ASCII 42

- “@”, ASCII 64

- “^”, ASCII 94

- “~”, ASCII 126

`esc` (`char`, input)

  Escape character.

Redacted form:

- General: `plsesc(esc)`

This function is used in example 29.

Prev | Up | Next
`plseed`: Set seed for internal random number generator. | Home | `plsetopt`: Set any command-line option