This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
surffunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
15
[cax, args] = axescheck(args{:...
20.014 s61.2%
11
[v6,args] = usev6plotapi(varar...
20.008 s35.4%
26
end
20.000 s0.0%
25
end
20.000 s0.0%
14
try
20.000 s0.0%
All other lines  0.001 s3.4%
Totals  0.023 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
axescheckfunction20.012 s53.2%
usev6plotapifunction20.006 s28.1%
Self time (built-ins, overhead, etc.)  0.004 s18.8%
Totals  0.023 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function26
Non-code lines (comments, blank lines)14
Code lines (lines that can run)12
Code lines that did run5
Code lines that did not run7
Coverage (did run/can run)41.67 %
Function listing
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.