1 | % |
---|
2 | |
---|
3 | %+ |
---|
4 | % |
---|
5 | % EVOLUTIONS |
---|
6 | % =========== |
---|
7 | % |
---|
8 | % $Id$ |
---|
9 | % |
---|
10 | % - fplod 2009-01-27T11:17:40Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
11 | % |
---|
12 | % * replaced by time_serie_ER_rossby_df.m |
---|
13 | % |
---|
14 | %- |
---|
15 | |
---|
16 | clear; |
---|
17 | |
---|
18 | status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); |
---|
19 | C=status.C; |
---|
20 | olr=status.olr; |
---|
21 | clear status; |
---|
22 | |
---|
23 | olr=olr'; |
---|
24 | PC1=olr*C; |
---|
25 | |
---|
26 | time_serie_olr1=PC1(:,425); |
---|
27 | time_serie_olr2=PC1(:,424); |
---|
28 | year=zeros(122,28); |
---|
29 | for a=1:122 |
---|
30 | for b=1:28; |
---|
31 | year(a,b)=1979+(b-1); |
---|
32 | end; |
---|
33 | end; |
---|
34 | year=reshape(year,3416,1); |
---|
35 | |
---|
36 | day=zeros(122,28); |
---|
37 | for a=1:122 |
---|
38 | for b=1:28; |
---|
39 | day(a,b)=31+28+31+30+31+a; |
---|
40 | end; |
---|
41 | end; |
---|
42 | day=reshape(day,3416,1); |
---|
43 | |
---|
44 | table_ER_1030=zeros(3416,4); |
---|
45 | for a=1:3416; |
---|
46 | for b=1:4; |
---|
47 | table_ER_1030(a,1)=year(a); |
---|
48 | table_ER_1030(a,2)=day(a); |
---|
49 | table_ER_1030(a,3)=time_serie_olr1(a); |
---|
50 | table_ER_1030(a,4)=time_serie_olr2(a); |
---|
51 | end; |
---|
52 | end; |
---|
53 | |
---|
54 | save('table_ER_1030.txt','table_ER_1030','-ASCII'); |
---|
55 | |
---|
56 | a=1; |
---|
57 | clear koro1 |
---|
58 | debut=(a-1)*122+1; |
---|
59 | fin=a*122; |
---|
60 | koro1=time_serie_olr1(debut:fin); |
---|
61 | koro2=time_serie_olr2(debut:fin); |
---|
62 | x=[1:122]'; |
---|
63 | aa=plot(x,-koro1,'r'); |
---|
64 | hold on; |
---|
65 | bb=plot(x,-koro2,'k'); |
---|
66 | cc=legend('EOF1','EOF2'); |
---|
67 | set (cc,'fontsize',6) |
---|
68 | legend boxoff |
---|
69 | y=zeros(122,1); |
---|
70 | plot(x,y,'k:'); |
---|
71 | |
---|
72 | set (gca,'tickDir','out'); |
---|
73 | axis([1 122 -100 100]); |
---|
74 | |
---|
75 | set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); |
---|
76 | set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); |
---|