This is a static copy of a profile reportHome
scribe.legend.init>legendDeleted (14 calls, 0.087 sec)
Generated 05-Aug-2011 13:02:12 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/@scribe/@legend/init.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 |
342 | graph2dhelper('updateLegendMen... | 6 | 0.044 s | 50.0% |  |
337 | if ishandle(double(h)) &&a... | 14 | 0.022 s | 25.0% |  |
343 | legendcolorbarlayout(double(h.... | 6 | 0.011 s | 12.5% |  |
333 | uic = get(h,'UIContextMenu'); | 14 | 0.011 s | 12.5% |  |
346 | end | 10 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.087 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
graph2dhelper | function | 6 | 0.044 s | 50.0% |  |
legendcolorbarlayout | function | 12 | 0.011 s | 12.5% |  |
opaque.double | function | 76 | 0.011 s | 12.5% |  |
Self time (built-ins, overhead, etc.) | | | 0.022 s | 25.0% |  |
Totals | | | 0.087 s | 100% | |
Code Analyzer results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 16 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 12 |
Code lines that did run | 12 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
331 function legendDeleted(hProp,eventData,h) %#ok
332
0.01 14 333 uic = get(h,'UIContextMenu');
14 334 if ishandle(uic)
10 335 delete(uic);
10 336 end
0.02 14 337 if ishandle(double(h)) && ...
338 ishandle(get(double(h),'parent')) && ...
339 ~strcmpi(get(get(double(h),'parent'),'beingdeleted'),'on')
10 340 ax = double(h.Axes);
10 341 if ~isempty(ax) && ishandle(ax) && ~strcmpi(get(ax,'beingdeleted'),'on')
0.04 6 342 graph2dhelper('updateLegendMenuToolbar', [], [], double(h.Axes));
0.01 6 343 legendcolorbarlayout(double(h.Axes),'removeFromLayoutList',double(h))
6 344 legendcolorbarlayout(double(h.Axes),'layout')
6 345 end
10 346 end
Other subfunctions in this file are not included in this listing.