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

Annotation of /MITgcm_contrib/timour_matlab/mscripts/plottwxz.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 function plotfields( iter )
2     clear
3     clear path
4    
5     global Nx Ny Nz
6     global lat long dz dm mdep
7     global delt_su su_its t_su delt
8     global descriptor this_path
9     global f deltaf Q beta r_expt r_heat H
10     global time rots it
11     global g Cp rho_bar alpha
12     global u v t w
13     global iterations
14    
15    
16     for j=1:5:Ny
17     j
18     figure(1)
19     subplot(2,1,1)
20     pcolor(flipud(transpose(squeeze(t(:,j,:)))));shading flat; colorbar;
21     title(['t timestep ' num2str(eval(it)) ' y section ' int2str(j) ]);
22     drawnow
23     subplot(2,1,2)
24     pcolor(flipud(transpose(squeeze(w(:,j,:)))));shading flat; colorbar;
25     title(['w timestep ' num2str(eval(it)) ' y section ' int2str(j) ]);
26     drawnow
27    
28     pause
29    
30     end
31    
32     return

  ViewVC Help
Powered by ViewVC 1.1.22