This is a static copy of a profile report

Home

graph2dhelper (975 calls, 1.038 sec)
Generated 05-Aug-2011 13:02:24 using cpu time.
function in file /usr/local/MATLAB/R2011a/toolbox/matlab/scribe/graph2dhelper.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
lineseriesfunction677
legend>make_legendsubfunction13
scribe.legend.initfunction84
scribe.legend.methods>set_contextmenusubfunction126
scribe.legend.init>changedCurrentAxessubfunction69
scribe.legend.init>legendDeletedsubfunction6
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
28
feval(varargin{:});
890.700 s67.4%
31
[varargout{1:nargout}] = feval...
8160.317 s30.5%
33
end
9050 s0%
32
end
8160 s0%
30
else
8160 s0%
All other lines  0.022 s2.1%
Totals  1.038 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
scribe/private/updateLegendMenuToolbarfunction890.700 s67.4%
scribe/private/get_legendable_childrenfunction130.153 s14.7%
scribe/private/createScribeUIMenuEntryfunction1260.109 s10.5%
scribe/private/getplotmanagerfunction6770.022 s2.1%
Self time (built-ins, overhead, etc.)  0.055 s5.3%
Totals  1.038 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in function33
Non-code lines (comments, blank lines)20
Code lines (lines that can run)13
Code lines that did run12
Code lines that did not run1
Coverage (did run/can run)92.31 %
Function listing
   time   calls  line
1 function varargout=graph2dhelper(varargin)
2 %GRAPH2DHELPER Switchyard for private graph2d functions
3
4 % FH=GRAPH2DHELPER(FNAME) returns a function handle to the function FNAME
5 %
6 % [OUT1,OUT1,...]=GRAPH2DHELPER(FNAME,ARG1,ARG2,...) evaluates function
7 % FNAME with arguments ARG1,ARG2,... and returns outputs OUT1,OUT2,...
8 % Legal functions include functions located in graph2d/private directory
9 % and other functions that are on the MATLAB path. Individual arguments
10 % (ARG1, ARG2, etc.) may not be cell arrays (same as with feval).
11 %
12 % GRAPH2DHELPER(FNAME,ARG1,ARG2,...) evaluates FNAME with ARG1,ARG2,...
13 % and returns nothing (errors if FNAME specifies outputs).
14 %
15 % GRAPH2DHELPER(NOUTS,FNAME,ARG1,ARG2,...) evaluates FNAME with
16 % ARG1,ARG2,... and reurns NOUTS outputs.
17
18 % Copyright 1984-2006 The MathWorks, Inc.
19 % $ $ $ $
20
975 21 if nargin==1 && ischar(varargin{1})
70 22 varargout{1} = str2func(varargin{1});
905 23 else
905 24 if nargout<1
89 25 if isnumeric(varargin{1})
26 [varargout{1:varargin{1}}] = feval(varargin{2:end});
89 27 else
0.70 89 28 feval(varargin{:});
89 29 end
816 30 else
0.32 816 31 [varargout{1:nargout}] = feval(varargin{:});
816 32 end
905 33 end