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

Contents of /MITgcm_contrib/timour_matlab/mscripts/plott1.m

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


Revision 1.1 - (show annotations) (download)
Wed Sep 3 21:22:22 2003 UTC (21 years, 10 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
initial checkin of Timour's MatLAB scripts

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 cmin=20;
15 cmax=32;
16 V=[cmin cmax];
17 figure
18 caxis('manual')
19
20 t0=max(max(t(:,:,3)));
21 [I,J]=find(t(:,:,3)==t0);
22 I
23 J
24
25 subplot(1,2,1)
26 title='in-situ temperature at z=3';
27 imagesc(lat,long,squeeze(t(:,:,3))');shading flat;axis image;caxis(V);colorbar('horizontal');
28 set(gca,'ydir','norm')
29 text(0,-50,descriptor);
30 text(0,140,title);
31 text(0,-30,'timestep');text(90,-30,num2str(it))
32 subplot(1,2,2)
33 contour(flipud(squeeze(t(:,J,:))'),50);caxis(V);colorbar;grid
34 text(0,-2,'in-situ east-west temperature through the warmest point')
35 figure
36 contour(flipud(squeeze(t(I,:,:))'),50);caxis(V);colorbar;grid
37 text(0,-2,'in-situ north-south temperature through the warmest point');text(100,-2, num2str(Ny/2-4))
38
39 % figure
40 % contour(flipud(squeeze(t(:,Ny/2-8,:))'),50);caxis(V);colorbar;grid
41 % text(0,-2,'in-situ east-west temperature at');text(100,-2, num2str(Ny/2-8))
42 %
43 %figure
44 % contour(flipud(squeeze(t(:,Ny/2-12,:))'),50);caxis(V);colorbar;grid
45 % text(0,-2,'in-situ east-west temperature at');text(100,-2, num2str(Ny/2-12))

  ViewVC Help
Powered by ViewVC 1.1.22