This is a static copy of a profile report

Home

lineseries (1 call, 0.031 sec)
Generated 15-Mar-2007 12:01:53 using real time.
M-function in file C:\Program Files\MATLAB71\toolbox\matlab\graph2d\lineseries.m
[Copy to new window for comparing multiple runs]

Parents (calling functions)

Function NameFunction TypeCalls
see_mindM-function1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
21
if strcmp(varargin{1},'event')
10 s0%
20
if (nargin > 0) && ...
10 s0%
19
lineseriesmex;
10 s0%
Other lines & overhead  0.031 s100.0%
Totals  0.031 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
graphics.plotevent.schemaM-function10.016 s50.0%
graphics.schemaM-function10 s0%
graph2d\private\lineseriesmexMEX-function10 s0%
Self time (built-ins, overhead, etc.)  0.016 s50.0%
Totals  0.031 s100% 
M-Lint results
No M-Lint messages.
Coverage results
[ Show coverage for parent directory ]
Total lines in file33
Non-code lines (comments, blank lines)19
Code lines (lines that can run)14
Code lines that did run3
Code lines that did not run11
Coverage (did run/can run)21.43 %
Function listing
   time   calls  line
1 function h = lineseries(varargin)
2 %LINESERIES Line plot helper function
3 % This function is an internal helper function for line plots.
4
5 % H = LINESERIES(PARAM1, VALUE1, PARAM2, VALUE2, ...) constructs
6 % a lineseries object, applies the specified parameter-value pairs
7 % and return the result in H.
8 %
9 % LINESERIES('init') will only register the lineseries class and
10 % won't return a lineseries object.
11 %
12 % LINESERIES('event',H) sends a PlotFunctionDone event for objects
13 % H and returns.
14 %
15 % See also: PLOT
16
17 % Copyright 1984-2003 The MathWorks, Inc.
18
1 19 lineseriesmex;
1 20 if (nargin > 0) && ischar(varargin{1}) % any string as first arg is special
1 21 if strcmp(varargin{1},'event')
22 % adapted code from specgraph/private/plotdoneevent.m
23 objs = handle(varargin{2});
24 plotmgr = getappdata(ancestor(objs(1),'figure'),'PlotManager');
25 if ishandle(plotmgr)
26 evdata = graphics.plotevent(plotmgr,'PlotFunctionDone');
27 set(evdata,'ObjectsCreated',objs);
28 send(plotmgr,'PlotFunctionDone',evdata);
29 end
30 end
31 else
32 h = double(graph2d.lineseries(varargin{:}));
33 end