diff scripts/plot/bar.m @ 4723:ccb4eca28f7e

[project @ 2004-01-23 14:33:26 by jwe]
author jwe
date Fri, 23 Jan 2004 14:33:26 +0000
parents 22bd65326ec1
children c08cb1098afc
line wrap: on
line diff
--- a/scripts/plot/bar.m
+++ b/scripts/plot/bar.m
@@ -75,7 +75,7 @@
       if (xlen == ylen)
         len = 3 * xlen + 1;
         tmp_xb = tmp_yb = zeros (len, 1);
-        cutoff = zeros (1, xlen-1);
+        cutoff = zeros (1, xlen);
         for i = 1:xlen-1
           cutoff(i) = (x(i) + x(i+1)) / 2.0;
         endfor