/[MITgcm]/MITgcm_contrib/high_res_cube/matlab-grid-generator/plotfld.m
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/matlab-grid-generator/plotfld.m

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


Revision 1.1.1.1 - (hide annotations) (download) (vendor branch)
Tue Nov 11 18:08:08 2003 UTC (21 years, 8 months ago) by cnh
Branch: MAIN, initial
CVS Tags: baseline, HEAD
Changes since 1.1: +0 -0 lines
Checking in work done with Dimitri on high-resolution cube gridding and parallel 
communications. 
   o code is in a contrib experiment for now so we can continue collaborating
     on it. However most code is general and will be moved into main branch once 
     it is fully hardened.
   o There are README files in the contrib root and in the subdirectories that
     explain the contents

1 cnh 1.1 fld=readbin(fld,[nx 6 nx],1,'real*8');
2    
3     tmp=nan*ones(nx*4,nx*3);
4     tmp(ix1,iy1)=squeeze(fld(:,1,:));
5     tmp(ix2,iy1)=squeeze(fld(:,2,:));
6     tmp(ix2,iy2)=squeeze(fld(:,3,:));
7     tmp(ix3,iy2)=squeeze(fld(:,4,:));
8     tmp(ix3,iy3)=squeeze(fld(:,5,:));
9     tmp(ix4,iy3)=squeeze(fld(:,6,:));
10    
11     mypcolor(tmp'); colorbar

  ViewVC Help
Powered by ViewVC 1.1.22