This is a static copy of a profile reportHome
subplot>removeAxesFromGrid (52 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:23 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/graph2d/subplot.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 |
621 | end | 52 | 0 s | 0% |  |
620 | end | 52 | 0 s | 0% |  |
619 | end | 52 | 0 s | 0% |  |
618 | end | 44 | 0 s | 0% |  |
617 | setappdata(p, 'SubplotGrid', g... | 44 | 0 s | 0% |  |
All other lines | | | 0.011 s | 100.0% |  |
Totals | | | 0.011 s | 100% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 18 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 17 |
Code lines that did run | 17 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
604 function removeAxesFromGrid(p, ax)
52 605 grid = getappdata(p, 'SubplotGrid');
52 606 if ~isempty(grid)
52 607 n = grid == ax;
52 608 if any(n(:))
52 609 grid(n) = 0;
52 610 list = grid(:);
52 611 list(list == 0) = []; % remove root
52 612 list(~ishghandle(list)) = [];
52 613 if isempty(list)
8 614 rmappdata(p, 'SubplotListeners');
8 615 rmappdata(p, 'SubplotGrid');
44 616 else
44 617 setappdata(p, 'SubplotGrid', grid);
44 618 end
52 619 end
52 620 end
52 621 end
Other subfunctions in this file are not included in this listing.