# HG changeset patch # User John W. Eaton # Date 1235458113 -3600 # Node ID a08f22ff5ba18419453e528fcfe006d795576750 # Parent e896fba7e3d481614727529034ef88c8e88834b6 fplot.m: fix nargin check diff -r e896fba7e3d4 -r a08f22ff5ba1 scripts/ChangeLog --- a/scripts/ChangeLog Mon Feb 23 21:06:42 2009 +0100 +++ b/scripts/ChangeLog Tue Feb 24 07:48:33 2009 +0100 @@ -1,3 +1,8 @@ +2009-02-23 John W. Eaton + + * plot/fplot.m: Fix nargin check. + From Joel Parker . + 2008-01-15 Rafael Laboissiere * gethelp.cc: Include . diff -r e896fba7e3d4 -r a08f22ff5ba1 scripts/plot/fplot.m --- a/scripts/plot/fplot.m Mon Feb 23 21:06:42 2009 +0100 +++ b/scripts/plot/fplot.m Tue Feb 24 07:48:33 2009 +0100 @@ -40,7 +40,7 @@ ## Author: Paul Kienzle function fplot (fn, limits, n, linespec) - if (nargin < 2 || nargin > 3) + if (nargin < 2 || nargin > 4) print_usage (); endif