This is a static copy of a profile report

Home

isplotyyaxes (Calls: 16, Time: 0.001 s)
Generated 16-Jul-2020 17:10:06 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/illustration/+matlab/+graphics/+illustration/+internal/isplotyyaxes.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
getLegendableChildrenfunction8
legend>make_legendsubfunction8
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
8
if isappdata(ax,'graphicsPloty...
160.001 s41.9%
7
if isgraphics(ax)
160.000 s31.3%
14
end
160.000 s1.0%
6
tf = false;
160.000 s0.2%
13
end
160.000 s0.2%
All other lines  0.000 s25.6%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function14
Non-code lines (comments, blank lines)5
Code lines (lines that can run)9
Code lines that did run5
Code lines that did not run4
Coverage (did run/can run)55.56 %
Function listing
time 
Calls 
 line
   1 
function tf = isplotyyaxes(ax)
   2 
% TF = ISPLOTYYAXES(AX) return true if AX is part of a plotyy chart
   3 

   4 
%   Copyright 2016 The MathWorks, Inc.
   5 

< 0.001 
     16 
   6
tf = false; 
< 0.001 
     16 
   7
if isgraphics(ax) 
< 0.001 
     16 
   8
    if isappdata(ax,'graphicsPlotyyPeer') 
   9 
        plotyyAx = getappdata(ax,'graphicsPlotyyPeer');
  10 
        if ~isempty(plotyyAx) && ishandle(plotyyAx)
  11 
            tf = true;
  12 
        end
< 0.001 
     16 
  13
    end 
< 0.001 
     16 
  14
end