This is a static copy of a profile reportHome
genfig>plotdescription (128 calls, 0.492 sec)
Generated 05-Aug-2011 13:03:29 using cpu time.
subfunction in file /home/LeechJ/cbass_analysis/reduc/plotting/genfig.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 227 | title(sprintf('Channel: %u', n... | 120 | 0.197 s | 40.0% |  |
| 243 | xlabel(char(txt{2})); | 128 | 0.153 s | 31.1% |  |
| 244 | ylabel(char(txt{3})); | 128 | 0.142 s | 28.9% |  |
| 247 | return; | 128 | 0 s | 0% |  |
| 245 | end | 128 | 0 s | 0% |  |
| All other lines | | | 0 s | 0% |  |
| Totals | | | 0.492 s | 100% | |
Children (called functions)
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| title | function | 120 | 0.175 s | 35.6% |  |
| xlabel | function | 128 | 0.153 s | 31.1% |  |
| ylabel | function | 128 | 0.142 s | 28.9% |  |
| Self time (built-ins, overhead, etc.) | | | 0.022 s | 4.4% |  |
| Totals | | | 0.492 s | 100% | |
Code Analyzer results
| Line number | Message |
| 223 | Input argument 'swap' might be unused. If this is OK, consider replacing it by ~. |
| 225 | Use && instead of & as the AND operator in (scalar) conditional statements. |
| 228 | Use && instead of & as the AND operator in (scalar) conditional statements. |
| 237 | Use && instead of & as the AND operator in (scalar) conditional statements. |
Coverage results
[ Show coverage for parent directory ]
| Total lines in function | 25 |
| Non-code lines (comments, blank lines) | 9 |
| Code lines (lines that can run) | 16 |
| Code lines that did run | 11 |
| Code lines that did not run | 5 |
| Coverage (did run/can run) | 68.75 % |
Function listing
time calls line
223 function plotdescription(txt,n,m,num,matrix,swap)
224
128 225 if (matrix(1)==2 & matrix(2)==3)
226 % plot of channels
0.20 120 227 title(sprintf('Channel: %u', n));
8 228 elseif (matrix(1)==4 & matrix(2)==6)
229 % plot of switch states
230 title(sprintf('Switch State Number: %u Ant: %u',n));
8 231 elseif (num==6)
232 % channels plotted in time
233 title(sprintf('Channel Number: %u', m));
8 234 elseif(num==24)
235 % phase switch in time
236 title(sprintf('Switch State Number: %u', m));
8 237 elseif(matrix(1) == 1 & matrix(2)==2)
238 % opacity plots
239 title(sprintf('Total Intensity Channel: %u', n));
240 end
241
128 242 if(~isempty(txt))
0.15 128 243 xlabel(char(txt{2}));
0.14 128 244 ylabel(char(txt{3}));
128 245 end
246
128 247 return;
Other subfunctions in this file are not included in this listing.