1 |
figure('PaperPosition',[0.31 0.25 10.5 7.88],'PaperOrientation','landscape'); |
2 |
colormap('default'); cmap = colormap; colormap([.75*ones(1,3); cmap]); |
3 |
for k=pkt; |
4 |
subplot(2,1,1),imagesc(grd.lonc,grd.latc,t(:,:,iz,k)'); |
5 |
axis xy; axis image; %caxis([-1.5 6]); |
6 |
title(['Temperature, depth = ' num2str(grd.zc(iz))]) |
7 |
subplot(2,1,2),imagesc(grd.lonc,grd.latc,s(:,:,iz,k)'); |
8 |
% axis xy; axis image; caxis([30 40]); |
9 |
axis xy; axis image; caxis([32 37]); |
10 |
title(['Salinity, depth = ' num2str(grd.zc(iz))]) |
11 |
suptitle(['experiment ' dname ', timestep = ' num2str(timesteps(k)) ... |
12 |
', ' tuname ' = ' num2str(tim(k))]) |
13 |
drawnow; pause(delay); |
14 |
end |