plsetopt: Set any command-line option

`plsetopt`: Set any command-line option
Prev | Chapter 18. The Common API for PLplot | Next

#### `plsetopt`: Set any command-line option

`int plsetopt (` | opt,
| optarg`)`;

Set any command-line option internally from a program before it invokes `plinit`. `opt` is the name of the command-line option and `optarg` is the corresponding command-line option argument.

`opt` (`const char *`, input)

  Pointer to string containing the command-line option.

`optarg` (`const char *`, input)

  Pointer to string containing the argument of the command-line option.

This function returns 0 on success.

Redacted form: `plsetopt(opt, optarg)`

This function is used in example 14.

Prev | Up | Next
`plsesc`: Set the escape character for text strings | Home | `plsfam`: Set family file parameters