1 | % |
---|
2 | |
---|
3 | clear; |
---|
4 | close all; |
---|
5 | |
---|
6 | figure(1); |
---|
7 | orient('landscape') |
---|
8 | figure(2); |
---|
9 | orient('landscape') |
---|
10 | figure(3); |
---|
11 | orient('landscape') |
---|
12 | |
---|
13 | status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); |
---|
14 | C=status.C; |
---|
15 | olr=status.olr; |
---|
16 | clear status; |
---|
17 | |
---|
18 | olr=olr'; |
---|
19 | PC1=olr*C; |
---|
20 | |
---|
21 | time_serie_olr1=PC1(:,425); |
---|
22 | time_serie_olr2=PC1(:,424); |
---|
23 | |
---|
24 | for a=1:28; |
---|
25 | if a<12; |
---|
26 | figure(1); |
---|
27 | subplot(4,3,a); |
---|
28 | elseif a<23; |
---|
29 | figure(2); |
---|
30 | subplot(4,3,a-11); |
---|
31 | else |
---|
32 | figure(3); |
---|
33 | subplot(4,3,a-22); |
---|
34 | end; |
---|
35 | clear koro1 |
---|
36 | debut=(a-1)*122+1; |
---|
37 | fin=a*122; |
---|
38 | koro1=time_serie_olr1(debut:fin); |
---|
39 | koro2=time_serie_olr2(debut:fin); |
---|
40 | x=[1:122]'; |
---|
41 | aa=plot(x,-koro1,'r'); |
---|
42 | hold on; |
---|
43 | bb=plot(x,-koro2,'k'); |
---|
44 | % cc=legend('EOF1','EOF2') |
---|
45 | % set (cc,'fontsize',6) |
---|
46 | % legend boxoff; |
---|
47 | y=zeros(122,1); |
---|
48 | plot(x,y,'k:'); |
---|
49 | if a==2; |
---|
50 | text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); |
---|
51 | elseif a==13; |
---|
52 | text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); |
---|
53 | elseif a==24; |
---|
54 | text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); |
---|
55 | end; |
---|
56 | title(a+1978,'FontSize',8); |
---|
57 | set (gca,'tickDir','out'); |
---|
58 | axis([1 122 -100 100]); |
---|
59 | |
---|
60 | set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); |
---|
61 | set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); |
---|
62 | end; |
---|
63 | |
---|
64 | figure(1); |
---|
65 | print('-depsc2','time_serie_eof_ER_10-30j_part1.eps'); |
---|
66 | figure(2); |
---|
67 | print('-depsc2','time_serie_eof_ER_10-30j_part2.eps'); |
---|
68 | figure(3); |
---|
69 | print('-depsc2','time_serie_eof_ER_10-30j_part3.eps'); |
---|