This is a static copy of a profile reportHome
graphics/private/adjustbackground>matrix2color (432 calls, 0.000 sec)
Generated 14-Nov-2016 07:47:20 using cpu time.
nested function in file /usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/matlab/graphics/private/adjustbackground.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 |
798 | end | 432 | 0 s | 0% |  |
794 | elseif isequal(isnan(color), i... | 432 | 0 s | 0% |  |
791 | if isequal(isnan(color), isnan... | 432 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0 s | 0% | |
Children (called functions)
No childrenCode Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
Total lines in function | 11 |
Non-code lines (comments, blank lines) | 5 |
Code lines (lines that can run) | 6 |
Code lines that did run | 3 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 50.00 % |
Function listing
time | calls | line |
---|
| | 788 | function color = matrix2color( color )
|
| | 789 | %MATRIX2COLOR Return a Color-spec for any a 1x3, possibly encoded for 'flat' and 'none'.
|
| | 790 |
|
| 432 | 791 | if isequal(isnan(color), isnan(NONE) )
|
| | 792 | color = 'none';
|
| | 793 |
|
| 432 | 794 | elseif isequal(isnan(color), isnan(FLAT) )
|
| | 795 | color = 'flat';
|
| | 796 |
|
| | 797 | end
|
| 432 | 798 | end
|
Other subfunctions in this file are not included in this listing.