Next: , Previous: reread, Up: Commands


3.22 reset

The reset command causes all graph-related options that can be set with the `set` command to take on their default values. This command is useful, e.g., to restore the default graph settings at the end of a command file, or to return to a defined state after lots of settings have been changed within a command file. Please refer to the `set` command to see the default values that the various options take.

The following are _not_ affected by reset.

          `set term` output loadpath fontpath
          encoding decimalsign locale
     

`reset errors` clears only the error state variables GPVAL_ERRNO and GPVAL_ERRMSG.

`reset bind` restores all hotkey bindings to their default state.