This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
scribe.legend.init>PlotAxesDeletedsubfunction10
closereqfunction4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
342
graph2dhelper('updateLegendMen...
60.044 s50.0%
337
if ishandle(double(h)) &&a...
140.022 s25.0%
343
legendcolorbarlayout(double(h....
60.011 s12.5%
333
uic = get(h,'UIContextMenu');
140.011 s12.5%
346
end
100 s0%
All other lines  0 s0%
Totals  0.087 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graph2dhelperfunction60.044 s50.0%
legendcolorbarlayoutfunction120.011 s12.5%
opaque.doublefunction760.011 s12.5%
Self time (built-ins, overhead, etc.)  0.022 s25.0%
Totals  0.087 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function16
Non-code lines (comments, blank lines)4
Code lines (lines that can run)12
Code lines that did run12
Code lines that did not run0
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.