# HG changeset patch # User Rik # Date 1296369091 28800 # Node ID 2b7aa04f6b5304c031fa20eab57f2bfe28ab2abe # Parent e6a2008b14b8507aca6eccbd6389a4d2dc3585fa Add fltk_gui_mode, fltk_mouse_wheel_zoom to documentation. diff -r e6a2008b14b8 -r 2b7aa04f6b53 doc/ChangeLog --- a/doc/ChangeLog Sat Jan 29 21:58:40 2011 -0800 +++ b/doc/ChangeLog Sat Jan 29 22:31:31 2011 -0800 @@ -1,3 +1,9 @@ +2011-01-29 Rik + + * interpreter/octave.texi: Add new subsection on FLTK interaction. + * interpreter/plot.txi: Add fltk_gui_mode, fltk_mouse_wheel_zoom + functions to documentation. + 2011-01-29 Rik * interpreter/arith.txi: Add accumdim function to documentation. diff -r e6a2008b14b8 -r 2b7aa04f6b53 doc/interpreter/octave.texi --- a/doc/interpreter/octave.texi Sat Jan 29 21:58:40 2011 -0800 +++ b/doc/interpreter/octave.texi Sat Jan 29 22:31:31 2011 -0800 @@ -561,6 +561,7 @@ Graphics Toolkits * Interaction with gnuplot:: +* Interaction with FLTK:: Matrix Manipulation diff -r e6a2008b14b8 -r 2b7aa04f6b53 doc/interpreter/plot.txi --- a/doc/interpreter/plot.txi Sat Jan 29 21:58:40 2011 -0800 +++ b/doc/interpreter/plot.txi Sat Jan 29 22:31:31 2011 -0800 @@ -3223,6 +3223,7 @@ @menu * Interaction with gnuplot:: +* Interaction with FLTK:: @end menu @node Interaction with gnuplot @@ -3230,3 +3231,11 @@ @cindex gnuplot interaction @DOCSTRING(gnuplot_binary) + +@node Interaction with FLTK +@subsubsection Interaction with FLTK + +@DOCSTRING(fltk_gui_mode) + +@DOCSTRING(fltk_mouse_wheel_zoom) + diff -r e6a2008b14b8 -r 2b7aa04f6b53 scripts/ChangeLog --- a/scripts/ChangeLog Sat Jan 29 21:58:40 2011 -0800 +++ b/scripts/ChangeLog Sat Jan 29 22:31:31 2011 -0800 @@ -1,3 +1,7 @@ +2010-01-29 Rik + + * plot/gnuplot_binary.in: Improve docstring + 2010-01-29 Rik * general/accumarray.m: Add seealso reference to accumdim. diff -r e6a2008b14b8 -r 2b7aa04f6b53 scripts/plot/gnuplot_binary.in --- a/scripts/plot/gnuplot_binary.in Sat Jan 29 21:58:40 2011 -0800 +++ b/scripts/plot/gnuplot_binary.in Sat Jan 29 22:31:31 2011 -0800 @@ -20,9 +20,10 @@ ## @deftypefn {Loadable Function} {[@var{prog}, @var{args}] =} gnuplot_binary () ## @deftypefnx {Loadable Function} {[@var{old_prog}, @var{old_args}] =} gnuplot_binary (@var{new_prog}, @var{arg1}, @dots{}) ## Query or set the name of the program invoked by the plot command -## and any arguments to pass to it. Previous arguments are returned -## as a cell array. -## The default value @code{\"gnuplot\"}. @xref{Installation}. +## 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 @code{"gnuplot"} without additional arguments. +## @xref{Installation}. ## @end deftypefn ## Author: jwe diff -r e6a2008b14b8 -r 2b7aa04f6b53 src/ChangeLog --- a/src/ChangeLog Sat Jan 29 21:58:40 2011 -0800 +++ b/src/ChangeLog Sat Jan 29 22:31:31 2011 -0800 @@ -1,3 +1,10 @@ +2011-01-29 Rik + + * DLD-FUNCTIONS/__init_fltk__.cc (fltk_gui_mode, fltk_mouse_wheel_zoom): + Improve docstrings. + + * graphics.cc (available_graphics_toolkits): Fix typo in docstring. + 2011-01-29 Rik * syscalls.cc (S_ISSOCK, S_ISCHR): Improve docstrings diff -r e6a2008b14b8 -r 2b7aa04f6b53 src/DLD-FUNCTIONS/__init_fltk__.cc --- a/src/DLD-FUNCTIONS/__init_fltk__.cc Sat Jan 29 21:58:40 2011 -0800 +++ b/src/DLD-FUNCTIONS/__init_fltk__.cc Sat Jan 29 22:31:31 2011 -0800 @@ -1970,7 +1970,8 @@ "-*- texinfo -*-\n\ @deftypefn {Built-in Function} {@var{speed} =} fltk_mouse_wheel_zoom ()\n\ @deftypefnx {Built-in Function} {} fltk_mouse_wheel_zoom (@var{speed})\n\ -Query or set the mouse wheel zoom factor in the fltk graphics toolkit.\n\ +Query or set the mouse wheel zoom factor in the FLTK graphics toolkit.\n\ +@seealso{fltk_gui_mode}\n\ @end deftypefn") { octave_value retval = wheel_zoom_speed; @@ -2002,6 +2003,7 @@ @item 'none'\n\ Mouse inputs have no effect.\n\ @end table\n\ +@seealso{fltk_mouse_wheel_zoom}\n\ @end deftypefn") { caseless_str mode_str; @@ -2036,7 +2038,7 @@ } if (failed) - error ("MODE must be one of the strings: \"2D\", \"3D\", or \"None\""); + error ("MODE must be one of the strings: \"2D\", \"3D\", or \"none\""); return octave_value(mode_str); diff -r e6a2008b14b8 -r 2b7aa04f6b53 src/graphics.cc --- a/src/graphics.cc Sat Jan 29 21:58:40 2011 -0800 +++ b/src/graphics.cc Sat Jan 29 22:31:31 2011 -0800 @@ -6763,7 +6763,7 @@ DEFUN (available_graphics_toolkits, , , "-*- texinfo -*-\n\ -@deftypefn {Built-in Function} {} available_graphiscs_toolkits ()\n\ +@deftypefn {Built-in Function} {} available_graphics_toolkits ()\n\ Return a cell array of registered graphics toolkits.\n\ @end deftypefn") {