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 diff
--- a/scripts/ChangeLog
+++ b/scripts/ChangeLog
@@ -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
+++ b/scripts/plot/cla.m
@@ -90,9 +90,8 @@
endfunction
%!test
-%! hf = figure;
+%! hf = figure (1, "visible", "off");
%! unwind_protect
-%! set (hf, "visible", "off")
%! clf
%! plot (1:10)
%! cla ()