This is a static copy of a profile report

Home

legendcolorbarlayout>localValidateLists (20 calls, 0.021 sec)
Generated 18-Mar-2011 23:32:43 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/legendcolorbarlayout.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
legendcolorbarlayout>doLayoutM-subfunction20
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
388
setappdata(double(hAx),'Legend...
200.010 s50.0%
389
end
200 s0%
387
inlist(axList~=hAx) = [];
200 s0%
384
if iscell(axList)
200 s0%
383
axList = get(inlist,'Axes');
200 s0%
All other lines  0.010 s50.0%
Totals  0.021 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.doubleM-function600 s0%
Self time (built-ins, overhead, etc.)  0.021 s100.0%
Totals  0.021 s100% 
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function25
Non-code lines (comments, blank lines)4
Code lines (lines that can run)21
Code lines that did run12
Code lines that did not run9
Coverage (did run/can run)57.14 %
Function listing
   time   calls  line
365 function localValidateLists(hAx)
366 % Given an axes, make sure that the handles stored on the appdata are peers
367 % of the axes and not cruft from a copy.
368
20 369 hAx = handle(hAx);
20 370 outlist = getappdata(double(hAx),'LegendColorbarOuterList');
20 371 outlist(~ishandle(outlist)) = [];
20 372 if ~isempty(outlist)
373 axList = get(outlist,'Axes');
374 if iscell(axList)
375 axList = cell2mat(axList);
376 end
377 outlist(axList~=hAx) = [];
378 setappdata(double(hAx),'LegendColorbarOuterList',outlist);
379 end
20 380 inlist = getappdata(double(hAx),'LegendColorbarInnerList');
20 381 inlist(~ishandle(inlist)) = [];
20 382 if ~isempty(inlist)
20 383 axList = get(inlist,'Axes');
20 384 if iscell(axList)
385 axList = cell2mat(axList);
386 end
20 387 inlist(axList~=hAx) = [];
0.01 20 388 setappdata(double(hAx),'LegendColorbarInnerList',inlist);
20 389 end

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