Customizing Toolkit Behavior - GNU Octave
Description: GNU Octave

Up: Graphics Toolkits

##### 15.4.7.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.

— Loadable Function: [prog, args] = gnuplot_binary ()
— Loadable Function: [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"` without additional arguments. See Installation.

— Built-in Function: mode = gui_mode ()
— Built-in Function: gui_mode (mode)

> Query or set the GUI mode for the current graphics toolkit. The mode argument can be one of the following strings:

> '2d'
>   Allows panning and zooming of current axes.
> '3d'
>   Allows rotating and zooming of current axes.
> 'none'
>   Mouse inputs have no effect.

> This function is currently implemented only for the FLTK graphics toolkit.

> See also: mouse_wheel_zoom.

— Built-in Function: speed = mouse_wheel_zoom ()
— Built-in Function: mouse_wheel_zoom (speed)

> Query or set the mouse wheel zoom factor.

> This function is currently implemented only for the FLTK graphics toolkit.

> See also: gui_mode.