Mercurial > hg > octave-lyh
comparison scripts/plot/clf.m @ 6780:38bc358b6c9a
[project @ 2007-07-18 18:02:56 by jwe]
author | jwe |
---|---|
date | Wed, 18 Jul 2007 18:04:56 +0000 |
parents | 73fcbac81f33 |
children | 76e3d985ae56 |
comparison
equal
deleted
inserted
replaced
6779:301ca8b69d03 | 6780:38bc358b6c9a |
---|---|
28 | 28 |
29 if (nargin == 0) | 29 if (nargin == 0) |
30 cf = gcf (); | 30 cf = gcf (); |
31 set (cf, "currentaxes", []); | 31 set (cf, "currentaxes", []); |
32 for k = get (cf, "children") | 32 for k = get (cf, "children") |
33 delete (k); | 33 if (ishandle (k)) |
34 delete (k); | |
35 endif | |
34 endfor | 36 endfor |
35 else | 37 else |
36 print_usage (); | 38 print_usage (); |
37 endif | 39 endif |
38 | 40 |