This is a static copy of a profile report

Home

scribe.legend.methods>getnpos (2 calls, 0.000 sec)
Generated 18-Mar-2011 23:33:21 using cpu time.
M-subfunction in file /Applications/MATLAB_R2010a.app/toolbox/matlab/scribe/@scribe/@legend/methods.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
scribe.legend.methods>update_userdataM-subfunction2
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
599
npos = 1;
20 s0%
598
case 'NorthEast'
20 s0%
596
case 'NorthWest'
20 s0%
594
case 'Best'
20 s0%
593
switch h.location
20 s0%
All other lines  0 s0%
Totals  0 s0% 
Children (called functions)
No children
M-Lint results
Line numberMessage
Coverage results
[ Show coverage for parent directory ]
Total lines in function20
Non-code lines (comments, blank lines)3
Code lines (lines that can run)17
Code lines that did run5
Code lines that did not run12
Coverage (did run/can run)29.41 %
Function listing
   time   calls  line
591 function npos = getnpos(h)
592
2 593 switch h.location
2 594 case 'Best'
595 npos = 0;
2 596 case 'NorthWest'
597 npos = 2;
2 598 case 'NorthEast'
2 599 npos = 1;
600 case 'NorthEastOutside'
601 npos = -1;
602 case 'SouthWest'
603 npos = 3;
604 case 'SouthEast'
605 npos = 4;
606 otherwise
607 fig = ancestor(h,'figure');
608 npos = hgconvertunits(fig,get(double(h),'Position'),get(h,'Units'),...
609 'points',get(h,'Parent'));
610 end

Other subfunctions in this file are not included in this listing.