Mercurial > octave-nkf
changeset 13031:d2997525fcb6 stable
Fix for bug #34158.
* plot/axis.m: Check that lower axis limits are less han upper limits.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Wed, 31 Aug 2011 18:19:17 -0400 |
parents | 9b191d0e547f |
children | d0dccc6dd4e7 |
files | scripts/plot/axis.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/axis.m Tue Aug 30 14:34:20 2011 -0400 +++ b/scripts/plot/axis.m Wed Aug 31 18:19:17 2011 -0400 @@ -277,8 +277,8 @@ endif for i = 1:2:len - if (ax(i) == ax(i+1)) - error ("axis: limits(%d) cannot equal limits(%d)", i, i+1); + if (ax(i) >= ax(i+1)) + error ("axis: limits(%d) must be less than limits(%d)", i, i+1); endif endfor