changeset 8285:26f0e69e9f3a

cla.m: in test, set visible off when creating figure
author John W. Eaton <jwe@octave.org>
date Wed, 29 Oct 2008 14:09:00 -0400
parents 4ceffd54031a
children 6f2d95255911
files scripts/ChangeLog scripts/plot/cla.m
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/ChangeLog	Wed Oct 29 12:41:10 2008 +0100
+++ b/scripts/ChangeLog	Wed Oct 29 14:09:00 2008 -0400
@@ -1,3 +1,7 @@
+2008-10-29  John W. Eaton  <jwe@octave.org>
+
+	* plot/cla.m: In test, set visible off when creating figure.
+
 2008-10-28  Gabriele Pannocchia  <g.pannocchia@ing.unipi.it>
 
 	* optimization/qp.m: Convert bounds of the form b <= x <= b and
--- a/scripts/plot/cla.m	Wed Oct 29 12:41:10 2008 +0100
+++ b/scripts/plot/cla.m	Wed Oct 29 14:09:00 2008 -0400
@@ -90,9 +90,8 @@
 endfunction
 
 %!test
-%! hf = figure;
+%! hf = figure (1, "visible", "off");
 %! unwind_protect
-%!   set (hf, "visible", "off")
 %!   clf
 %!   plot (1:10)
 %!   cla ()