Variable: gnuplot--insertions-menu

gnuplot--insertions-menu is a variable defined in gnuplot.el.

Value

nil

Documentation

Menu for insertions in gnuplot-mode.

The insertions menu is composed of several sub-menus. The variables describing the sub-menus are:
  gnuplot-insertions-adornments
  gnuplot-insertions-plot-options
  gnuplot-insertions-terminal
  gnuplot-insertions-x-axis
  gnuplot-insertions-y-axis
  gnuplot-insertions-z-axis
  gnuplot-insertions-x2-axis
  gnuplot-insertions-y2-axis
  gnuplot-insertions-parametric-plots
  gnuplot-insertions-polar-plots
  gnuplot-insertions-surface-plots
These variables can be customized by the user. For example, there are many terminal types which are not in the terminal submenu but which may be compiled into your copy of gnuplot.

Each of these variables is a list whose first element is a string and all the rest are vectors as described in the document string for easy-menu-define. The callback used throughout these menus is gnuplot-insert which inserts the appropriate set expression and, optionally, looks up that item in the gnuplot info file.

The easiest way to customize the submenus is to use the custom package. Just type M-x gnuplot-customize (gnuplot-customize) and follow your nose.

You can also add new items to any of these sub-menus by adding to the with-eval-after-load blocks in your .emacs file. Here is an example of adding the "regis" terminal type to the terminal sub-menu:

 (with-eval-after-load 'gnuplot
      (setq gnuplot-insertions-terminal
            (append gnuplot-insertions-terminal
                    (list
                     ["regis"
                      (gnuplot-insert "set terminal regis")
                       t]))))

Source Code

;; Defined in /nix/store/xvcy7r1jiw71avhnh6kmin403kpqrdhc-emacs-packages-deps/share/emacs/site-lisp/elpa/gnuplot-20260623.1111/gnuplot.el
(defvar gnuplot--insertions-menu nil
  "Menu for insertions in `gnuplot-mode'.

The insertions menu is composed of several sub-menus.  The variables
describing the sub-menus are:
  `gnuplot-insertions-adornments'
  `gnuplot-insertions-plot-options'
  `gnuplot-insertions-terminal'
  `gnuplot-insertions-x-axis'
  `gnuplot-insertions-y-axis'
  `gnuplot-insertions-z-axis'
  `gnuplot-insertions-x2-axis'
  `gnuplot-insertions-y2-axis'
  `gnuplot-insertions-parametric-plots'
  `gnuplot-insertions-polar-plots'
  `gnuplot-insertions-surface-plots'
These variables can be customized by the user.  For example, there are
many terminal types which are not in the terminal submenu but which
may be compiled into your copy of gnuplot.

Each of these variables is a list whose first element is a string and
all the rest are vectors as described in the document string for
`easy-menu-define'.  The callback used throughout these menus is
`gnuplot-insert' which inserts the appropriate set expression and,
optionally, looks up that item in the gnuplot info file.

The easiest way to customize the submenus is to use the custom
package.  Just type \\[gnuplot-customize] and follow your nose.

You can also add new items to any of these sub-menus by adding to the
`with-eval-after-load' blocks in your .emacs file.  Here is an example of
adding the \"regis\" terminal type to the terminal sub-menu:

 (with-eval-after-load \\='gnuplot
      (setq gnuplot-insertions-terminal
            (append gnuplot-insertions-terminal
                    (list
                     [\"regis\"
                      (gnuplot-insert \"set terminal regis\")
                       t]))))")