This is a static copy of a profile reportHome
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)
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
388 | setappdata(double(hAx),'Legend... | 20 | 0.010 s | 50.0% |  |
389 | end | 20 | 0 s | 0% |  |
387 | inlist(axList~=hAx) = []; | 20 | 0 s | 0% |  |
384 | if iscell(axList) | 20 | 0 s | 0% |  |
383 | axList = get(inlist,'Axes'); | 20 | 0 s | 0% |  |
All other lines | | | 0.010 s | 50.0% |  |
Totals | | | 0.021 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
opaque.double | M-function | 60 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0.021 s | 100.0% |  |
Totals | | | 0.021 s | 100% | |
M-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 25 |
Non-code lines (comments, blank lines) | 4 |
Code lines (lines that can run) | 21 |
Code lines that did run | 12 |
Code lines that did not run | 9 |
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.