1 | % |
---|
2 | %+ |
---|
3 | % |
---|
4 | % EVOLUTIONS |
---|
5 | % =========== |
---|
6 | % |
---|
7 | % $Id$ |
---|
8 | % |
---|
9 | % - fplod 2009-02-02T09:59:01Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
10 | % |
---|
11 | % * replaced by time_serie_eof_df.m |
---|
12 | % |
---|
13 | %- |
---|
14 | |
---|
15 | |
---|
16 | clear; |
---|
17 | close all; |
---|
18 | |
---|
19 | status=load('eof_30100_ircaam_tr.mat','C','olr'); |
---|
20 | C=status.C; |
---|
21 | olr=status.olr; |
---|
22 | clear status; |
---|
23 | |
---|
24 | olr=olr'; |
---|
25 | PC1=olr*C; |
---|
26 | |
---|
27 | %%%%%%% cronique de la VP1 |
---|
28 | time_serie_olr1=PC1(:,360); |
---|
29 | time_serie_olr2=PC1(:,359); |
---|
30 | |
---|
31 | dt_olr1=std(time_serie_olr1); |
---|
32 | dt_olr2=std(time_serie_olr2); |
---|
33 | |
---|
34 | for a=1:3538; |
---|
35 | time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; |
---|
36 | time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; |
---|
37 | end; |
---|
38 | |
---|
39 | save('eof1_TR_30100.txt','time_serie_olr1','-ASCII'); |
---|
40 | save('eof2_TR_30100.txt','time_serie_olr2','-ASCII'); |
---|
41 | |
---|
42 | x=[1:3538]'; |
---|
43 | for a=1:29; |
---|
44 | if a<12; |
---|
45 | figure(1); |
---|
46 | subplot(4,3,a); |
---|
47 | elseif a<23; |
---|
48 | figure(2); |
---|
49 | subplot(4,3,a-11); |
---|
50 | else |
---|
51 | figure(3); |
---|
52 | subplot(4,3,a-22); |
---|
53 | end; |
---|
54 | clear koro1; |
---|
55 | debut=(a-1)*122+1; |
---|
56 | fin=a*122; |
---|
57 | koro1=time_serie_olr1(debut:fin); |
---|
58 | koro2=time_serie_olr2(debut:fin); |
---|
59 | clear x; |
---|
60 | x=[1:122]'; |
---|
61 | plot(x,koro1,'r'); |
---|
62 | hold on |
---|
63 | plot(x,koro2,'k'); |
---|
64 | y=zeros(122,1); |
---|
65 | plot(x,y,'k:'); |
---|
66 | title(a+1970,'FontSize',8); |
---|
67 | if a==2; |
---|
68 | text(0,5.5,'serie temporelle eof TR 30100'); |
---|
69 | elseif a==13; |
---|
70 | text(0,5.5,'serie temporelle eof TR 30100'); |
---|
71 | elseif a==24; |
---|
72 | text(0,5.5,'serie temporelle eof TR 30100'); |
---|
73 | end; |
---|
74 | set (gca,'tickDir','out'); |
---|
75 | axis([1 122 -3 3]); |
---|
76 | |
---|
77 | set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); |
---|
78 | set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); |
---|
79 | end; |
---|
80 | |
---|
81 | figure(1); |
---|
82 | print('-depsc2','time_serie_eof_tr_30100a.eps'); |
---|
83 | figure(2); |
---|
84 | print('-depsc2','time_serie_eof_tr_30100b.eps'); |
---|
85 | figure(3); |
---|
86 | print('-depsc2','time_serie_eof_tr_30100c.eps'); |
---|