This is a static copy of a profile reportHome
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 Name | Function Type | Calls |
see_mind | M-function | 1 |
Lines where the most time was spent
Line Number | Code | Calls | Total Time | % Time | Time Plot |
21 | if strcmp(varargin{1},'event') | 1 | 0 s | 0% |  |
20 | if (nargin > 0) && ... | 1 | 0 s | 0% |  |
19 | lineseriesmex; | 1 | 0 s | 0% |  |
Other lines & overhead | | | 0.031 s | 100.0% |  |
Totals | | | 0.031 s | 100% | |
Children (called functions)
M-Lint results
No M-Lint messages.Coverage results
[ Show coverage for parent directory ]
Total lines in file | 33 |
Non-code lines (comments, blank lines) | 19 |
Code lines (lines that can run) | 14 |
Code lines that did run | 3 |
Code lines that did not run | 11 |
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