newplotwrapper (Calls: 56, Time: 0.159 s)
Generated 16-Jul-2020 17:08:45 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/newplotwrapper.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
hhsave_VFI_3OC | function | 56 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
11 | axReturn = newplot(varargin{:}... | 56 | 0.153 s | 96.1% | |
10 | currentFigure = get(groot,'Cur... | 56 | 0.005 s | 3.2% | |
14 | if isempty(currentFigure) | 56 | 0.000 s | 0.2% | |
16 | end | 56 | 0.000 s | 0.1% | |
All other lines | 0.001 s | 0.3% | |||
Totals | 0.159 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
newplot | function | 56 | 0.152 s | 95.6% | |
Self time (built-ins, overhead, etc.) | 0.007 s | 4.4% | |||
Totals | 0.159 s | 100% |
Total lines in function | 16 |
Non-code lines (comments, blank lines) | 11 |
Code lines (lines that can run) | 5 |
Code lines that did run | 4 |
Code lines that did not run | 1 |
Coverage (did run/can run) | 80.00 % |
time | Calls | line | |
---|---|---|---|
1 | function axReturn = newplotwrapper(varargin) | ||
2 | % This undocumented helper function is for internal use. | ||
3 | |||
4 | % Copyright 2018 The MathWorks, Inc. | ||
5 | |||
6 | % This wrapper function is intended to open the Default Interactions | ||
7 | % InfoPanel once when the plot function is generating a new figure | ||
8 | |||
9 | % If there is already a gcf there is no need to show the InfoPanel | ||
0.005 | 56 | 10 | currentFigure = get(groot,'CurrentFigure'); |
0.153 | 56 | 11 | axReturn = newplot(varargin{:}); |
12 | |||
13 | % Maybe open the Interaction Info Panel if newplot created a new figure | ||
< 0.001 | 56 | 14 | if isempty(currentFigure) |
15 | matlab.graphics.internal.InteractionInfoPanel.maybeShow(axReturn); | ||
< 0.001 | 56 | 16 | end |