/[MITgcm]/MITgcm_contrib/timour_matlab/mscripts/plott.m
ViewVC logotype

Annotation of /MITgcm_contrib/timour_matlab/mscripts/plott.m

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


Revision 1.1 - (hide annotations) (download)
Wed Sep 3 21:22:22 2003 UTC (21 years, 10 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
initial checkin of Timour's MatLAB scripts

1 edhill 1.1 clear
2     clear path
3     whos
4     global Nx Ny Nz
5     global lat long dz dm mdep
6     global delt_su su_its t_su delt
7     global descriptor this_path
8     global f deltaf Q beta r_expt r_heat H
9     global time rots it
10     global g Cp rho_bar alpha
11     global u v t w
12     global iterations
13    
14     % i=find(t<20);
15     % t(i)=20;
16    
17     cmin=20;
18     cmax=32;
19     V=[cmin cmax];
20     figure
21     caxis('manual')
22    
23     %subplot(2,1,1)
24     title='in-situ temperature at z=3';
25     imagesc(lat,long,squeeze(t(1:Nx-1,1:Ny-1,3))');shading flat;axis off;box on;
26     % imagesc(lat,long,squeeze(t(:,:,5))');shading flat;axis image;caxis(V);colorbar('vertical');
27     set(gca,'ydir','norm')
28     text(0,-50,descriptor);
29     text(0,140,title);
30     text(0,-30,'timestep');text(80,-30,num2str(it))
31     %subplot(2,1,2)
32     figure
33     contour(flipud(squeeze(t(1:Nx-2,Ny/4,1:Nz-1))'),50);grid;axis off;
34     % contour(flipud(squeeze(t(1:Nx-1,Ny/2,3:Nz))'),50);caxis(V);colorbar;grid
35     % text(0,-2,'in-situ east-west temperature ')
36     %figure
37     % contour(flipud(squeeze(t(Ny/4,1:Ny-1,1:Nz))'),50);colorbar;grid
38     % text(0,-2,'in-situ north-south temperature')
39    

  ViewVC Help
Powered by ViewVC 1.1.22