changeset 29765:8ee86e0d3690

hist.m: Capitalize function input variables appearing in error() messages. * hist.m: Capitalize input 'Y' appearing in new error() message.
author Rik <rik@octave.org>
date Wed, 16 Jun 2021 06:31:15 -0700
parents 83ca5801187b
children 9b19854c8db1
files scripts/plot/draw/hist.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/hist.m	Wed Jun 16 15:52:58 2021 +0900
+++ b/scripts/plot/draw/hist.m	Wed Jun 16 06:31:15 2021 -0700
@@ -185,7 +185,7 @@
     endif
     if (! isvector (norm) ...
         || ! (length (norm) == 1 || length (norm) == columns (y)))
-      error ("hist: NORM must be scalar or vector of length 'columns (y)'");
+      error ("hist: NORM must be scalar or vector of length 'columns (Y)'");
     endif
     norm = norm (:).';  # Ensure vector orientation.
   endif