This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
subplot>axesDestroyedsubfunction52
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
621
end
520 s0%
620
end
520 s0%
619
end
520 s0%
618
end
440 s0%
617
setappdata(p, 'SubplotGrid', g...
440 s0%
All other lines  0.011 s100.0%
Totals  0.011 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function18
Non-code lines (comments, blank lines)1
Code lines (lines that can run)17
Code lines that did run17
Code lines that did not run0
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.