This is a static copy of a profile reportHome
setPlotDisplay (17 calls, 0.809 sec)
Generated 05-Aug-2011 13:03:24 using cpu time.
function in file /home/LeechJ/cbass_analysis/reduc/plotting/setPlotDisplay.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 |
15 | figure('visible', 'off'); | 17 | 0.601 s | 74.3% |  |
12 | close all | 17 | 0.208 s | 25.7% |  |
21 | return; | 17 | 0 s | 0% |  |
14 | case 0 | 17 | 0 s | 0% |  |
13 | switch(flag) | 17 | 0 s | 0% |  |
All other lines | | | 0 s | 0% |  |
Totals | | | 0.809 s | 100% | |
Children (called functions)
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
close | function | 17 | 0.208 s | 25.7% |  |
initprintexporttemplate | function | 17 | 0 s | 0% |  |
Self time (built-ins, overhead, etc.) | | | 0.601 s | 74.3% |  |
Totals | | | 0.809 s | 100% | |
Code Analyzer results
No Code Analyzer messages.Coverage results
[ Show coverage for parent directory ]
Total lines in function | 21 |
Non-code lines (comments, blank lines) | 13 |
Code lines (lines that can run) | 8 |
Code lines that did run | 5 |
Code lines that did not run | 3 |
Coverage (did run/can run) | 62.50 % |
Function listing
time calls line
1 function setPlotDisplay( flag)
2
3 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 %
5 % function setPlotDisplay( flag)
6 %
7 % sjcm - tired of typing this out. quick function to set whether plots
8 % will be visible or not.
9 %
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
0.21 17 12 close all
17 13 switch(flag)
17 14 case 0
0.60 17 15 figure('visible', 'off');
16
17 case 1
18 figure('visible', 'on');
19 end
20
17 21 return;