changeset 6927:cf07aa5666cb

[project @ 2007-09-26 20:10:01 by dbateman]
author dbateman
date Wed, 26 Sep 2007 20:10:01 +0000
parents c05fbb1b7e1f
children 20dac48f4d8d
files scripts/plot/__plt_get_axis_arg__.m
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/__plt_get_axis_arg__.m
+++ b/scripts/plot/__plt_get_axis_arg__.m
@@ -37,7 +37,9 @@
     endif
   else
     h = gca ();
-    varargin = {};
+    if (nargin < 2)
+      varargin = {};
+    endif
   endif
 
 endfunction