plsetopt: Set any command-line option

The PLplot Plotting Library: Programmer's Reference Manual
Prev | Chapter 17. The Common API for PLplot | Next

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

`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.

Redacted form: `plsetopt(opt, optarg)`

This function is used in examples 14,17.

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