changeset 33217:fd4b199bfe3e

maint: Merge stable to default.
author Nicholas R. Jankowski <jankowski.nicholas@gmail.com>
date Sun, 17 Mar 2024 22:44:49 -0400
parents 8a44f10870bd (current diff) 1ba981407122 (diff)
children 5aa35bb9063c 3af3c114f706
files
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/hist.m	Fri Mar 15 13:24:44 2024 -0400
+++ b/scripts/plot/draw/hist.m	Sun Mar 17 22:44:49 2024 -0400
@@ -82,7 +82,10 @@
 ##
 ## If an output is requested then no plot is made.  Instead, return the values
 ## @var{nn} (numbers of elements) and @var{xx} (bin centers) such that
-## @code{bar (@var{xx}, @var{nn})} will plot the histogram.
+## @code{bar (@var{xx}, @var{nn})} will plot the histogram.  If @var{y} is a
+## vector, @var{nn} and @var{xx} will be row vectors.  If @var{y} is an array,
+## @var{nn} will be an array with one column of element counts for each column
+## in @var{y}, and @var{xx} will be a column vector of bin centers.
 ##
 ## @seealso{histc, bar, pie, rose}
 ## @end deftypefn