This is a static copy of a profile reportHome
datachildren (249 calls, 0.077 sec)
Generated 05-Aug-2011 13:01:33 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/datachildren.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
subplot | function | 249 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
16 | h = findobj(parent,'type','axe... | 249 | 0.066 s | 85.7% |  |
17 | nondatachild = logical([]); | 249 | 0.011 s | 14.3% |  |
21 | h(nondatachild) = []; | 249 | 0 s | 0% |  |
20 | end | 1445 | 0 s | 0% |  |
19 | nondatachild(i) = isappdata(h(... | 1445 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.077 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
findobj | function | 249 | 0.055 s | 71.4% |  |
Self time (built-ins, overhead, etc.) | | | 0.022 s | 28.6% |  |
Totals | | | 0.077 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 21 |
Non-code lines (comments, blank lines) | 15 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
1 function h = datachildren(parent)
2 %DATACHILDREN Handles to figure children that contain data.
3 % H = DATACHILDREN(FIG) returns the children in the figure
4 % that contain data and are suitable for manipulation via
5 % functions like ROTATE3D and ZOOM.
6 %
7 % This is a helper function for ROTATE3D and ZOOM.
8
9 % Copyright 1984-2002 The MathWorks, Inc.
10 % $Revision: 1.7.4.1 $ $Date: 2010/09/02 13:36:01 $
11
12 % Current implementation:
13 % Figure children that have an application data property
14 % called 'NonDataObject' are excluded.
15
0.07 249 16 h = findobj(parent,'type','axes');
0.01 249 17 nondatachild = logical([]);
249 18 for i=length(h):-1:1
1445 19 nondatachild(i) = isappdata(h(i),'NonDataObject');
1445 20 end
249 21 h(nondatachild) = [];