diff scripts/plot/plot.m @ 3979:e0b7a493e5a8

[project @ 2002-07-10 17:45:34 by jwe]
author jwe
date Wed, 10 Jul 2002 17:45:34 +0000
parents e3501697c995
children efac4b97bb09
line wrap: on
line diff
--- a/scripts/plot/plot.m
+++ b/scripts/plot/plot.m
@@ -183,7 +183,7 @@
 
 ## Author: jwe
 
-function plot (...)
+function plot (varargin)
 
   ## XXX FIXME XXX -- these plot states should really just be set
   ## temporarily, probably inside an unwind_protect block, but there is
@@ -192,6 +192,6 @@
   gset nologscale;
   gset nopolar;
 
-  __plt__ ("plot", all_va_args);
+  __plt__ ("plot", varargin{:});
 
 endfunction