Documentation of rvect


Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)


Function Synopsis

rvect(x, y, frame, lev)

Help text


   rvect(x, y, kp, len)

   x = data matrix
   n = time series (row number)
   lev = length of arrow (optional)


Cross-Reference Information

This function calls

Listing of function rvect

function rvect(x, y, frame, lev)

%frame=[30 390 -90 90];
%frame=[120 285 -31 31];
if nargin < 4; lev=[]; end;
%x=mean2(x)';
%y=mean2(y)';
grid1=reshape(x,21,16);
grid2=reshape(y,21,16);
%grid1=reshape(x(n,:),64,64);
gvect(grid1', grid2', frame, lev);
axis(frame)
dc
%tit=['SST for month ', int2str(n)];
%title(tit);
%xlab=['Max (Min) Correlation = ',num2str(max(x(n,:))),' (',num2str(min(x(n,:))),')'];
%xlabel('Contour interval 0.5 C');
%xlabel(xlab);