# HG changeset patch # User jwe # Date 948097707 0 # Node ID bf22deaf04ed895accbd3d62c952c5e41820f4bc # Parent 86e1068c2abbcf71a59066a5cd3bb5c011b5aabd [project @ 2000-01-17 08:28:27 by jwe] diff -r 86e1068c2abb -r bf22deaf04ed src/ChangeLog --- a/src/ChangeLog Mon Jan 17 08:18:42 2000 +0000 +++ b/src/ChangeLog Mon Jan 17 08:28:27 2000 +0000 @@ -1,5 +1,7 @@ 2000-01-17 John W. Eaton + * DLD-FUNCTIONS/minmax.cc (Fmax, Fmin): Texinfoize doc strings. + * pt-plot.cc (Fgraw, Fgset, Fgshow, Vgnuplot_command_plot, Vgnuplot_command_replot, Vgnuplot_command_splot, Vgnuplot_command_using, Vgnuplot_command_with, diff -r 86e1068c2abb -r bf22deaf04ed src/DLD-FUNCTIONS/minmax.cc --- a/src/DLD-FUNCTIONS/minmax.cc Mon Jan 17 08:18:42 2000 +0000 +++ b/src/DLD-FUNCTIONS/minmax.cc Mon Jan 17 08:28:27 2000 +0000 @@ -274,7 +274,20 @@ } DEFUN_DLD (min, args, nargout, - "min (X): minimum value(s) of a vector (matrix)") + "-*- texinfo -*-\n\ +For a vector argument, return the minimum value. For a matrix\n\ +argument, return the minimum value from each column, as a row\n\ +vector. Thus,\n\ +\n\ +@example\n\ +min (min (@var{x}))\n\ +@end example\n\ +\n\ +@noindent\n\ +returns the smallest element of @var{x}.\n\ +\n\ +For complex arguments, the magnitude of the elements are used for\n\ +comparison.") { octave_value_list retval; @@ -488,7 +501,20 @@ } DEFUN_DLD (max, args, nargout, - "max (X): maximum value(s) of a vector (matrix)") + "-*- texinfo -*-\n\ +For a vector argument, return the maximum value. For a matrix\n\ +argument, return the maximum value from each column, as a row\n\ +vector. Thus,\n\ +\n\ +@example\n\ +max (max (@var{x}))\n\ +@end example\n\ +\n\ +@noindent\n\ +returns the largest element of @var{x}.\n\ +\n\ +For complex arguments, the magnitude of the elements are used for\n\ +comparison.") { octave_value_list retval; diff -r 86e1068c2abb -r bf22deaf04ed src/data.cc --- a/src/data.cc Mon Jan 17 08:18:42 2000 +0000 +++ b/src/data.cc Mon Jan 17 08:28:27 2000 +0000 @@ -1332,7 +1332,10 @@ @end defvr"); DEFCONST (false, false, - "logical false value"); + "-*- texinfo -*-\n\ +@defvr {Built-in Variable} false\n\ +Logical false value.\n\ +@end defvr"); DEFCONST (i, Complex (0.0, 1.0), IMAGINARY_DOC_STRING); @@ -1392,7 +1395,10 @@ @end defvr"); DEFCONST (true, true, - "logical true value"); + "-*- texinfo -*-\n\ +@defvr {Built-in Variable} true\n\ +Logical true value.\n\ +@end defvr"); }