This is a static copy of a profile reportHome
savtoner>matrix2color (304 calls, 0.011 sec)
Generated 05-Aug-2011 13:03:38 using cpu time.
nested function in file /usr/local/MATLAB/R2011a/toolbox/matlab/graphics/savtoner.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Function Name | Function Type | Calls |
savtoner | function | 304 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
552 | elseif isequal(isnan(color), i... | 304 | 0.011 s | 100.0% |  |
556 | end | 304 | 0 s | 0% |  |
549 | if isequal(isnan(color), isnan... | 304 | 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 | 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
546 function color = matrix2color( color )
547 %MATRIX2COLOR Return a Color-spec for any a 1x3, possibly encoded for 'flat' and 'none'.
548
304 549 if isequal(isnan(color), isnan(NONE) )
550 color = 'none';
551
0.01 304 552 elseif isequal(isnan(color), isnan(FLAT) )
553 color = 'flat';
554
555 end
304 556 end
Other subfunctions in this file are not included in this listing.