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