This is a static copy of a profile report

Home

scribe.legend.methods>getnpos (1 call, 0.000 sec)
Generated 28-Feb-2011 19:18:24 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-subfunction1
Lines where the most time was spent
No measurable time spent in this function

Line NumberCodeCallsTotal Time% TimeTime Plot
599
npos = 1;
10 s0%
598
case 'NorthEast'
10 s0%
596
case 'NorthWest'
10 s0%
594
case 'Best'
10 s0%
593
switch h.location
10 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
1 593 switch h.location
1 594 case 'Best'
595 npos = 0;
1 596 case 'NorthWest'
597 npos = 2;
1 598 case 'NorthEast'
1 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.