This is a static copy of a profile report

Home

subplot>getOuterFromPosAndLoose (36 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:28 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
subplotfunction36
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
708
end
360 s0%
707
outer = [pos(1 : 2) - loose(1 ...
360 s0%
706
end
360 s0%
705
loose = [w, h, w, h] .* loose;
360 s0%
704
h = pos(4) / (1 - loose(2) - l...
360 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 function9
Non-code lines (comments, blank lines)2
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
   time   calls  line
700 function outer = getOuterFromPosAndLoose(pos, loose, units)
36 701 if strcmp(units, 'normalized')
702 % compute outer width and height and normalize loose to them
36 703 w = pos(3) / (1 - loose(1) - loose(3));
36 704 h = pos(4) / (1 - loose(2) - loose(4));
36 705 loose = [w, h, w, h] .* loose;
36 706 end
36 707 outer = [pos(1 : 2) - loose(1 : 2), pos(3 : 4) + loose(1 : 2) + loose(3 : 4)];
36 708 end