This is a static copy of a profile report

Home

legendcolorbarlayout>localChangePosition (33 calls, 0.000 sec)
Generated 05-Aug-2011 13:02:06 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/legendcolorbarlayout.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
graphics/private/preparefunction7
hardcopyfunction13
graphics/private/restorehgfunction13
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
274
end
330 s0%
273
setappdata(hAx,'LegendColorbar...
330 s0%
272
if isappdata(hAx,'InSubplotLay...
330 s0%
267
if isappdata(hAx,'LegendColorb...
330 s0%
265
hAx = double(evd.AffectedObjec...
330 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.doublefunction330 s0%
Self time (built-ins, overhead, etc.)  0 s0%
Totals  0 s0% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function14
Non-code lines (comments, blank lines)5
Code lines (lines that can run)9
Code lines that did run5
Code lines that did not run4
Coverage (did run/can run)55.56 %
Function listing
   time   calls  line
261 function localChangePosition(obj,evd,list) %#ok<INUSL>
262 % When the position of the axes changes, update the expected Axes position
263 % if the change was a result of the subplot layout manager.
264
33 265 hAx = double(evd.AffectedObject);
266 % If we are in manual layout mode, remove the listener
33 267 if isappdata(hAx,'LegendColorbarManualSpace')
268 allList = getappdata(hAx,'LegendColorbarListeners');
269 allList(allList == list) = [];
270 setappdata(hAx,'LegendColorbarListeners',allList);
271 end
33 272 if isappdata(hAx,'InSubplotLayout')
33 273 setappdata(hAx,'LegendColorbarExpectedPosition',evd.NewValue);
33 274 end

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