diff scripts/plot/fplot.m @ 8847:4629e3925e75

fplot.m: fix nargin check
author John W. Eaton <jwe@octave.org>
date Mon, 23 Feb 2009 16:44:42 -0500
parents cadc73247d65
children eb63fbe60fab
line wrap: on
line diff
--- a/scripts/plot/fplot.m	Mon Feb 23 16:37:40 2009 -0500
+++ b/scripts/plot/fplot.m	Mon Feb 23 16:44:42 2009 -0500
@@ -40,7 +40,7 @@
 ## Author: Paul Kienzle <pkienzle@users.sf.net>
 
 function fplot (fn, limits, n, linespec)
-  if (nargin < 2 || nargin > 3)
+  if (nargin < 2 || nargin > 4)
     print_usage ();
   endif