This is a static copy of a profile reportHome
scribe.legend.init>computePos (24 calls, 0.010 sec)
Generated 18-Mar-2011 23:32:45 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/@scribe/@legend/init.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 |
198 | end | 4 | 0 s | 0% |  |
195 | if ~isequal(oldPos,axPos) | 4 | 0 s | 0% |  |
194 | axPos = get(h.Axes,'Position')... | 4 | 0 s | 0% |  |
193 | oldPos = getappdata(double(h.A... | 4 | 0 s | 0% |  |
192 | if ~isempty(h.Axes) &&... | 24 | 0 s | 0% |  |
All other lines | | | 0.010 s | 100.0% |  |
Totals | | | 0.010 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
opaque.double | M-function | 28 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0.010 s | 100.0% |  |
Totals | | | 0.010 s | 100% | |
M-Lint results
Coverage results
[ Show coverage for parent directory ]
Total lines in function | 8 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 7 |
Code lines that did run | 5 |
Code lines that did not run | 2 |
Coverage (did run/can run) | 71.43 % |
Function listing
time calls line
191 function computePos(hProp,eventData,h) %#ok
24 192 if ~isempty(h.Axes) && isempty(getappdata(double(h.Axes),'inLayout'))
4 193 oldPos = getappdata(double(h.Axes),'LegendComputePosCache');
4 194 axPos = get(h.Axes,'Position');
4 195 if ~isequal(oldPos,axPos)
196 legendcolorbarlayout(h.Axes,'layoutNoPixelBounds');
197 end
4 198 end
Other subfunctions in this file are not included in this listing.