plsetopt.3plplot man page

plsetopt — Set any command-line option

Synopsis

int plsetopt(opt, optarg)

Description

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.

Arguments

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.

Authors

Many developers (who are credited at http://plplot.sourceforge.net/credits.p…) have contributed to PLplot over its long history.

See Also

PLplot documentation at http://plplot.sourceforge.net/documenta….

Info

August, 2015 PLplot API