/[MITgcm]/MITgcm/utils/matlab/drawedges.m
ViewVC logotype

Diff of /MITgcm/utils/matlab/drawedges.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by adcroft, Mon Aug 13 18:10:28 2001 UTC revision 1.2 by adcroft, Thu Aug 30 15:28:33 2001 UTC
# Line 13  else Line 13  else
13  end  end
14    
15  if ndims(xg)==2 & size(xg,1)==6*size(xg,2)  if ndims(xg)==2 & size(xg,1)==6*size(xg,2)
  disp('1');  
16   [nx ny nt]=size(xg);   [nx ny nt]=size(xg);
17   x=permute( reshape(xg,[nx/6 6 ny]),[1 3 2]);   x=permute( reshape(xg,[nx/6 6 ny]),[1 3 2]);
18   y=permute( reshape(yg,[nx/6 6 ny]),[1 3 2]);   y=permute( reshape(yg,[nx/6 6 ny]),[1 3 2]);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22