le arrow, we</span>
0026 <span class="comment">% must use vectors and not grid matrices.</span>
0027 X = X(:);
0028 Y = Y(:);
0029 U = U(:);
0030 V = V(:);
0031 
0032 <span class="comment">% Add scale arrow position and lengths</span>
0033 X(end+1) = x;
0034 Y(end+1) = y;
0035 U(end+1) = u;
0036 V(end+1) = v;
0037 
0038 <span class="comment">% Update the arrows</span>
0039 set(h,<span class="string">'Xdata'</span>,X,<span class="string">'Ydata'</span>,Y,<span class="string">'Udata'</span>,U,<span class="str