This is a static copy of a profile report

Home

scribe.legend.init>changedPos (225 calls, 0.022 sec)
Generated 05-Aug-2011 13:01:59 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
legendcolorbarlayout>doInOutLayoutsubfunction131
scribe.legend.init>changedPossubfunction54
allchildfunction3
scribe.legend.methods>getsizeinfosubfunction28
legendcolorbarlayout>doBestLegendLayoutsubfunction9
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
203
if strcmp(get(h,'ActivePositio...
2250.011 s50.0%
All other lines  0.011 s50.0%
Totals  0.022 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.doublefunction1180 s0%
scribe.legend.init>changedPossubfunction540 s0%
Self time (built-ins, overhead, etc.)  0.022 s100.0%
Totals  0.022 s100% 
Code Analyzer results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function10
Non-code lines (comments, blank lines)4
Code lines (lines that can run)6
Code lines that did run1
Code lines that did not run5
Coverage (did run/can run)16.67 %
Function listing
   time   calls  line
201 function changedPos(hProp,eventData,h,prop) %#ok
202
0.01 225 203 if strcmp(get(h,'ActivePositionProperty'),prop) && ...
204 (isempty(h.Axes) || ...
205 isempty(getappdata(double(h.Axes),'inLayout')))
206 set(h,'Location','none');
207 setappdata(double(h),'LegendOldSize',[]);
208 setWidthHeight([],[],h);
209 methods(h,'update_userdata');
210 end

Other subfunctions in this file are not included in this listing.