octave-maintainers
[Top][All Lists]
Advanced

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

Re: figure bug


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

Meant to write an extra line of doc...

--- /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:14:47.308601432 -0600
@@ -18,9 +18,10 @@
 ## 02110-1301, USA.
 
 ## -*- texinfo -*-
-## @deftypefn {Function File} {} figure (@var{n})
+## @deftypefn {Function File} {} figure 
(@var{n},@var{"param1"},@var{"setting1"},...)
 ## Set the current plot window to plot window @var{n}.  If @var{n} is
-## not specified, the next available window number is chosen.
+## not specified, the next available window number is chosen.  Paramters
+## and settings can be specified in pairs if a number is @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]