This is a static copy of a profile report

Home

scribe.legend.init>changedCurrentAxes (75 calls, 0.525 sec)
Generated 05-Aug-2011 13:02:22 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
subplotfunction59
gtitlefunction13
clffunction2
holdfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
556
graph2dhelper('updateLegendMen...
690.514 s97.9%
551
if isa(handle(ax),'scribe.lege...
750.011 s2.1%
554
return;
60 s0%
553
set(fig, 'CurrentAxes', double...
60 s0%
552
fig = ancestor(ax,'figure');
60 s0%
All other lines  0 s0%
Totals  0.525 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graph2dhelperfunction690.514 s97.9%
opaque.doublefunction60 s0%
Self time (built-ins, overhead, etc.)  0.011 s2.1%
Totals  0.525 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function8
Non-code lines (comments, blank lines)1
Code lines (lines that can run)7
Code lines that did run6
Code lines that did not run1
Coverage (did run/can run)85.71 %
Function listing
   time   calls  line
549 function changedCurrentAxes(hProp,eventData) %#ok
75 550 ax = eventData.NewValue;
0.01 75 551 if isa(handle(ax),'scribe.legend')
6 552 fig = ancestor(ax,'figure');
6 553 set(fig, 'CurrentAxes', double(get(ax,'Axes')));
6 554 return;
555 end
0.51 69 556 graph2dhelper('updateLegendMenuToolbar', [], [], ax);