octave-maintainers
[Top][All Lists]
Advanced

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

Re: more graphics changes.


From: John W. Eaton
Subject: Re: more graphics changes.
Date: Wed, 14 Mar 2007 16:33:46 -0400

On 14-Mar-2007, Søren Hauberg wrote:

| John W. Eaton skrev:
| > It would be helpful to me if people who have been using the new
| > graphics features could check that I haven't broken too many things.
| > Please report any problems that you find to this list.
| The following code fails for me:
| 
|    figure
|    clf
| 
| with the following error:
| 
| error: `children' undefined near line 30 column 26
| error: evaluating argument list element number 2
| error: evaluating for command near line 30, column 5
| error: evaluating if command near line 29, column 3
| error: called from `clf' in file 
| `/home/sh/Download/octave-cvs/octave/scripts/plot/clf.m'

Oops.

--- clf.m       14 Mar 2007 11:59:00 -0400      1.4
+++ clf.m       14 Mar 2007 16:33:13 -0400      
@@ -27,7 +27,7 @@
 function clf ()
 
   if (nargin == 0)
-    for k = get (gcf (), children)
+    for k = get (gcf (), "children")
       delete (k);
     endfor
     drawnow ();

jwe



reply via email to

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