comparison scripts/plot/ishghandle.m @ 17192:397bbb215632

ishghandle.m: Create a tmp image for checking handle. Don't use default.img. * scripts/plot/ishghandle.m: Create a tmp image for checking handle. Don't use default.img..
author Rik <rik@octave.org>
date Mon, 05 Aug 2013 14:13:09 -0700
parents eaab03308c0b
children
comparison
equal deleted inserted replaced
17191:ca5103ab0b21 17192:397bbb215632
50 %! assert (ishghandle (s)); 50 %! assert (ishghandle (s));
51 %! assert (! ishghandle (-s)); 51 %! assert (! ishghandle (-s));
52 %! t = text; 52 %! t = text;
53 %! assert (ishghandle (t)); 53 %! assert (ishghandle (t));
54 %! assert (! ishghandle (-t)); 54 %! assert (! ishghandle (-t));
55 %! i = image; 55 %! i = image ([1]);
56 %! assert (ishghandle (i)); 56 %! assert (ishghandle (i));
57 %! assert (! ishghandle (-i)); 57 %! assert (! ishghandle (-i));
58 %! hg = hggroup; 58 %! hg = hggroup;
59 %! assert (ishghandle (hg)); 59 %! assert (ishghandle (hg));
60 %! assert (! ishghandle (-hg)); 60 %! assert (! ishghandle (-hg));