octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: figure bug (THIRD STRIKE?!)


From: Daniel J Sebald
Subject: Re: figure bug (THIRD STRIKE?!)
Date: Mon, 12 Feb 2007 04:49:57 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020

Daniel J Sebald wrote:
Meant to write an extra line of doc...

Er, let's try that one more time.
--- /usr/local/share/octave/2.9.9+/m/plot/figure.m      2007-02-08 
11:50:56.000000000 -0600
+++ figure.m    2007-02-12 04:45:51.073266136 -0600
@@ -18,9 +18,10 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} figure (@var{n})
-## Set the current plot window to plot window @var{n}.  If @var{n} is
-## not specified, the next available window number is chosen.
+## @deftypefn {Function File} {} figure (@var{n}, @var{p}, @var{v}, ...)
+## Set the current plot window to plot window @var{n}.  If no arguments are
+## specified, the next available window number is chosen.  Parameters @var{p}
+## and settings @var{v} can be given in pairs if @var{n} is specified. 
 ## @end deftypefn
 
 ## Author: jwe, Bill Denney
@@ -45,6 +46,8 @@
     else
       error ("figure: expecting figure handle or figure number");
     endif
+  else
+    print_usage();
   endif
 
   if (nargout > 0)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]