ylabel(<span class="string">'y-position'</span>)
0507           title(<span class="string">'Trajectory'</span>)
0508           <span class="keyword">if</span> (~isfield(tmp{1},<span class="string">'r'</span>))
0509               disp(<span class="string">'You can view your trajectory, but you MUST smooth your data before proceeding with any calculations!'</span>)
0510           <span class="keyword">end</span>
0511       <span class="keyword">else</span>
0512           
0513           var1 = <span class="st