[17] | 1 | % |
---|
| 2 | |
---|
| 3 | clear; |
---|
| 4 | close all; |
---|
| 5 | |
---|
[24] | 6 | status=load('eof_30100_ircaam_as.mat','C','olr'); |
---|
| 7 | C=status.C; |
---|
| 8 | olr=status.olr; |
---|
| 9 | clear status; |
---|
[17] | 10 | |
---|
| 11 | olr=olr'; |
---|
| 12 | PC1=olr*C; |
---|
| 13 | |
---|
| 14 | %%%%%%% cronique de la VP1 |
---|
| 15 | time_serie_olr1=PC1(:,360); |
---|
| 16 | time_serie_olr2=PC1(:,359); |
---|
| 17 | |
---|
| 18 | dt_olr1=std(time_serie_olr1); |
---|
| 19 | dt_olr2=std(time_serie_olr2); |
---|
| 20 | |
---|
| 21 | for a=1:3538; |
---|
| 22 | time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; |
---|
| 23 | time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; |
---|
[25] | 24 | end; |
---|
[17] | 25 | |
---|
[30] | 26 | save('eof1_AS_30100.txt','time_serie_olr1','-ASCII'); |
---|
| 27 | save('eof2_AS_30100.txt','time_serie_olr2','-ASCII'); |
---|
[17] | 28 | |
---|
| 29 | x=[1:3538]'; |
---|
| 30 | for a=1:29; |
---|
| 31 | if a<12; |
---|
| 32 | figure(1); |
---|
| 33 | subplot(4,3,a); |
---|
| 34 | elseif a<23; |
---|
| 35 | figure(2); |
---|
| 36 | subplot(4,3,a-11); |
---|
| 37 | else |
---|
| 38 | figure(3); |
---|
| 39 | subplot(4,3,a-22); |
---|
[25] | 40 | end; |
---|
[21] | 41 | clear koro1; |
---|
[17] | 42 | debut=(a-1)*122+1; |
---|
| 43 | fin=a*122; |
---|
| 44 | koro1=time_serie_olr1(debut:fin); |
---|
| 45 | koro2=time_serie_olr2(debut:fin); |
---|
| 46 | clear x; |
---|
| 47 | x=[1:122]'; |
---|
| 48 | plot(x,koro1,'r'); |
---|
| 49 | hold on |
---|
| 50 | plot(x,koro2,'k'); |
---|
| 51 | y=zeros(122,1); |
---|
| 52 | plot(x,y,'k:'); |
---|
| 53 | title(a+1970,'FontSize',8); |
---|
| 54 | if a==2; |
---|
| 55 | text(0,5.5,'serie temporelle eof AS 30100'); |
---|
[25] | 56 | elseif a==13; |
---|
[17] | 57 | text(0,5.5,'serie temporelle eof AS 30100'); |
---|
| 58 | elseif a==24; |
---|
| 59 | text(0,5.5,'serie temporelle eof AS 30100'); |
---|
| 60 | end; |
---|
| 61 | set (gca,'tickDir','out'); |
---|
| 62 | axis([1 122 -3 3]); |
---|
| 63 | |
---|
| 64 | set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); |
---|
| 65 | set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); |
---|
| 66 | end; |
---|
| 67 | |
---|
| 68 | figure(1); |
---|
[24] | 69 | print('-depsc2','time_serie_eof_as_30100a.eps'); |
---|
[17] | 70 | figure(2); |
---|
[24] | 71 | print('-depsc2','time_serie_eof_as_30100b.eps'); |
---|
[17] | 72 | figure(3); |
---|
[24] | 73 | print('-depsc2','time_serie_eof_as_30100c.eps'); |
---|