diff scripts/plot/fplot.m @ 11937:a08f22ff5ba1 release-3-0-x

fplot.m: fix nargin check
author John W. Eaton <jwe@octave.org>
date Tue, 24 Feb 2009 07:48:33 +0100
parents ad3b944fde43
children
line wrap: on
line diff
--- 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 <pkienzle@users.sf.net>
 
 function fplot (fn, limits, n, linespec)
-  if (nargin < 2 || nargin > 3)
+  if (nargin < 2 || nargin > 4)
     print_usage ();
   endif