This is a static copy of a profile reportHome
subplot>offsetsInUnits (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 Name | Function Type | Calls |
subplot | function | 36 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
694 | end | 36 | 0.011 s | 100.0% |  |
693 | out = [p1(3 : 4), p2(3 : 4)]; | 36 | 0 s | 0% |  |
692 | p2 = hgconvertunits(fig, [0, 0... | 36 | 0 s | 0% |  |
691 | p1 = hgconvertunits(fig, [0, 0... | 36 | 0 s | 0% |  |
690 | par = get(ax, 'Parent'); | 36 | 0 s | 0% |  |
All other lines | | | 0 s | 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 | 7 |
Non-code lines (comments, blank lines) | 1 |
Code lines (lines that can run) | 6 |
Code lines that did run | 6 |
Code lines that did not run | 0 |
Coverage (did run/can run) | 100.00 % |
Function listing
time calls line
688 function out = offsetsInUnits(ax, in, from, to)
36 689 fig = ancestor(ax, 'figure');
36 690 par = get(ax, 'Parent');
36 691 p1 = hgconvertunits(fig, [0, 0, in(1 : 2)], from, to, par);
36 692 p2 = hgconvertunits(fig, [0, 0, in(3 : 4)], from, to, par);
36 693 out = [p1(3 : 4), p2(3 : 4)];
0.01 36 694 end
Other subfunctions in this file are not included in this listing.