This is a static copy of a profile reportHome
legendcolorbarlayout>localChangePosition (33 calls, 0.000 sec)
Generated 05-Aug-2011 13:02:06 using cpu time.
subfunction in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/legendcolorbarlayout.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
No measurable time spent in this functionLine Number | Code | Calls | Total Time | % Time | Time Plot |
274 | end | 33 | 0 s | 0% |  |
273 | setappdata(hAx,'LegendColorbar... | 33 | 0 s | 0% |  |
272 | if isappdata(hAx,'InSubplotLay... | 33 | 0 s | 0% |  |
267 | if isappdata(hAx,'LegendColorb... | 33 | 0 s | 0% |  |
265 | hAx = double(evd.AffectedObjec... | 33 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
opaque.double | function | 33 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 14 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 9 |
Code lines that did run | 5 |
Code lines that did not run | 4 |
Coverage (did run/can run) | 55.56 % |
Function listing
time calls line
261 function localChangePosition(obj,evd,list) %#ok<INUSL>
262 % When the position of the axes changes, update the expected Axes position
263 % if the change was a result of the subplot layout manager.
264
33 265 hAx = double(evd.AffectedObject);
266 % If we are in manual layout mode, remove the listener
33 267 if isappdata(hAx,'LegendColorbarManualSpace')
268 allList = getappdata(hAx,'LegendColorbarListeners');
269 allList(allList == list) = [];
270 setappdata(hAx,'LegendColorbarListeners',allList);
271 end
33 272 if isappdata(hAx,'InSubplotLayout')
33 273 setappdata(hAx,'LegendColorbarExpectedPosition',evd.NewValue);
33 274 end
Other subfunctions in this file are not included in this listing.