DOKK / manpages / debian 12 / plplot-doc / plsetopt.3plplot.en
PLSETOPT(3plplot) PLplot API PLSETOPT(3plplot)

plsetopt - Set any command-line option

PLINT plsetopt(opt, optarg)

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

This function returns 0 on success.

Redacted form: plsetopt(opt, optarg)

This function is used in example 14.

PLCHAR_VECTOR(3plplot), input)
An ascii character string containing the command-line option.
PLCHAR_VECTOR(3plplot), input)
An ascii character string containing the argument of the command-line option.

Many developers (who are credited at http://plplot.org/credits.php) have contributed to PLplot over its long history.

PLplot documentation at http://plplot.org/documentation.php.

April, 2023