Credits | Overview | Plotting Styles | Commands | Terminals |
---|
reset {bind | errors | session}
The reset command causes all graph-related options that can be set with the set command to return to their default values. This command can be used to restore the default settings after executing a loaded command file, or to return to a defined state after lots of settings have been changed.
The following are _not_ affected by reset:
`set term` `set output` `set loadpath` `set linetype` `set fit` `set encoding` `set decimalsign` `set locale` `set psdir` `set overflow` `set multiplot`
Note that reset does not necessarily return settings to the state they were in at program entry, because the default values may have been altered by commands in the initialization files gnuplotrc, $HOME/.gnuplot, or $XDG_CONFIG_HOME/gnuplot/gnuplotrc. However, these commands can be re-executed by using the variant command reset session.
reset session deletes any user-defined variables and functions, restores default settings, and then re-executes the system-wide gnuplotrc initialization file and any private $HOME/.gnuplot or $XDG_CONFIG_HOME/gnuplot/gnuplotrc preferences file. See initialization.
reset errors clears only the error state variables GPVAL_ERRNO and GPVAL_ERRMSG.
reset bind restores all hotkey bindings to their default state.