15.4.8.1 Customizing Toolkit Behavior
The specific behavior of the backend toolkit may be modified using the following utility functions. Note: Not all functions apply to every graphics toolkit.
- : [prog, args] = gnuplot_binary ()
- : [old_prog, old_args] = gnuplot_binary (new_prog)
- : [old_prog, old_args] = gnuplot_binary (new_prog, arg1, …)
-
Query or set the name of the program invoked by the plot command when the graphics toolkit is set to
"gnuplot"
.Additional arguments to pass to the external plotting program may also be given. The default value is
"gnuplot"
with no additional arguments. See Installation.See also: graphics_toolkit.
In addition, the gnuplot program usually provides a number of different interfaces, known as terminals. Octave normally chooses a default terminal, but you can override this with the environment variable GNUTERM
. This variable may be set in the shell before starting Octave or from within Octave before plotting for the first time. For example:
setenv ("GNUTERM", "wxt") graphics_toolkit ("gnuplot") plot (1:10)
© 1996–2020 John W. Eaton
Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.
Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
https://octave.org/doc/v6.3.0/Customizing-Toolkit-Behavior.html