This is a static copy of a profile reportHome
subplot>axesDestroyed (155 calls, 0.011 sec)
Generated 05-Aug-2011 13:01:36 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/graph2d/subplot.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 674 | removeAxesFromGrid(p, ax); | 52 | 0.011 s | 100.0% |  |
| 679 | end | 155 | 0 s | 0% |  |
| 678 | end | 16 | 0 s | 0% |  |
| 677 | rmappdata(p, 'SubplotGrid'); | 16 | 0 s | 0% |  |
| 676 | rmappdata(p, 'SubplotListeners... | 16 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0.011 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| subplot>removeAxesFromGrid | subfunction | 52 | 0.011 s | 100.0% |  |
| opaque.double | function | 155 | 0 s | 0% |  |
| Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
| Totals | | | 0.011 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 11 |
| Non-code lines (comments, blank lines) | 2 |
| Code lines (lines that can run) | 9 |
| Code lines that did run | 9 |
| Code lines that did not run | 0 |
| Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
669 function axesDestroyed(hSrc, ~)
155 670 ax = double(hSrc);
155 671 p = get(ax, 'Parent');
672
155 673 if strcmp(get(p, 'BeingDeleted'), 'off')
0.01 52 674 removeAxesFromGrid(p, ax);
103 675 elseif isappdata(p, 'SubplotListeners')
16 676 rmappdata(p, 'SubplotListeners');
16 677 rmappdata(p, 'SubplotGrid');
16 678 end
155 679 end
Other subfunctions in this file are not included in this listing.