Mercurial > hg > octave-lyh
comparison scripts/plot/cla.m @ 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 | bca580bbda02 |
children | 85c9906abfd1 |
comparison
equal
deleted
inserted
replaced
8284:4ceffd54031a | 8285:26f0e69e9f3a |
---|---|
88 axes (oldhax); | 88 axes (oldhax); |
89 | 89 |
90 endfunction | 90 endfunction |
91 | 91 |
92 %!test | 92 %!test |
93 %! hf = figure; | 93 %! hf = figure (1, "visible", "off"); |
94 %! unwind_protect | 94 %! unwind_protect |
95 %! set (hf, "visible", "off") | |
96 %! clf | 95 %! clf |
97 %! plot (1:10) | 96 %! plot (1:10) |
98 %! cla () | 97 %! cla () |
99 %! kids = get (gca, "children"); | 98 %! kids = get (gca, "children"); |
100 %! cla () | 99 %! cla () |