%s \n'</span>, subname)
0047 <span class="keyword">end</span>
0048 
0049 tbeg = timerange(1);
0050 tend = timerange(2);
0051 
0052 <span class="keyword">if</span> type == 1 <span class="comment">% initialize at all elements</span>
0053     xp   = Mobj.xc;
0054     yp   = Mobj.yc;
0055     nLag = Mobj.nElems;
0056 <span class="keyword">elseif</span> type == 2 <span class="comment">% initialize along a line of interest</span>
0057     nLag = 10;
0058     p1 = [1.188363e6,194497];
0059     p2 = [1.188548e6,194