parseplotapi (Calls: 2, Time: 0.023 s)
Generated 16-Jul-2020 17:09:58 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/specgraph/parseplotapi.m
Copy to new window for comparing multiple runs
Function Name | Function Type | Calls |
surf | function | 2 |
Line Number | Code | Calls | Total Time | % Time | Time Plot |
15 | [cax, args] = axescheck(args{:... | 2 | 0.014 s | 61.2% | |
11 | [v6,args] = usev6plotapi(varar... | 2 | 0.008 s | 35.4% | |
26 | end | 2 | 0.000 s | 0.0% | |
25 | end | 2 | 0.000 s | 0.0% | |
14 | try | 2 | 0.000 s | 0.0% | |
All other lines | 0.001 s | 3.4% | |||
Totals | 0.023 s | 100% |
Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
axescheck | function | 2 | 0.012 s | 53.2% | |
usev6plotapi | function | 2 | 0.006 s | 28.1% | |
Self time (built-ins, overhead, etc.) | 0.004 s | 18.8% | |||
Totals | 0.023 s | 100% |
Total lines in function | 26 |
Non-code lines (comments, blank lines) | 14 |
Code lines (lines that can run) | 12 |
Code lines that did run | 5 |
Code lines that did not run | 7 |
Coverage (did run/can run) | 41.67 % |
time | Calls | line | |
---|---|---|---|
1 | function [v6, cax, args] = parseplotapi(varargin) | ||
2 | % This undocumented function may be removed in a future release | ||
3 | |||
4 | %USEHGPLOTAPI determine plotting version | ||
5 | % Checks to see which HG plotting API should be used. | ||
6 | |||
7 | % Copyright 2010-2014 The MathWorks, Inc. | ||
8 | |||
9 | |||
10 | % Is the v6 flag passed? | ||
0.008 | 2 | 11 | [v6,args] = usev6plotapi(varargin{:}); |
12 | |||
13 | % Parse args for axes parent | ||
< 0.001 | 2 | 14 | try |
0.014 | 2 | 15 | [cax, args] = axescheck(args{:}); |
16 | catch e | ||
17 | ids = {'MATLAB:graphics:axescheck:DeletedAxes',... | ||
18 | 'MATLAB:graphics:axescheck:DeletedObject',... | ||
19 | 'MATLAB:graphics:axescheck:NonScalarHandle'}; | ||
20 | if any(strcmp(e.identifier,ids)) | ||
21 | throwAsCaller(e); | ||
22 | else | ||
23 | rethrow(e); | ||
24 | end | ||
< 0.001 | 2 | 25 | end |
< 0.001 | 2 | 26 | end |
Other subfunctions in this file are not included in this listing.