This is a static copy of a profile report

Home

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)

Function NameFunction TypeCalls
genfig>plotfeatsubfunction48
genfig>plotflagsubfunction80
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
227
title(sprintf('Channel: %u', n...
1200.197 s40.0%
243
xlabel(char(txt{2}));
1280.153 s31.1%
244
ylabel(char(txt{3}));
1280.142 s28.9%
247
return;
1280 s0%
245
end
1280 s0%
All other lines  0 s0%
Totals  0.492 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
titlefunction1200.175 s35.6%
xlabelfunction1280.153 s31.1%
ylabelfunction1280.142 s28.9%
Self time (built-ins, overhead, etc.)  0.022 s4.4%
Totals  0.492 s100% 
Code Analyzer results
Line numberMessage
223Input argument 'swap' might be unused. If this is OK, consider replacing it by ~.
225Use && instead of & as the AND operator in (scalar) conditional statements.
228Use && instead of & as the AND operator in (scalar) conditional statements.
237Use && instead of & as the AND operator in (scalar) conditional statements.
Coverage results
[ Show coverage for parent directory ]
Total lines in function25
Non-code lines (comments, blank lines)9
Code lines (lines that can run)16
Code lines that did run11
Code lines that did not run5
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.