source: trunk/src/mode_sahelien/obsolete/time_serie_jjas.m @ 45

Last change on this file since 45 was 45, checked in by pinsard, 15 years ago

unparametrized files in obsolete directory

File size: 1.6 KB
Line 
1%
2%+
3%
4% EVOLUTIONS
5% ===========
6%
7% $Id$
8%
9% - fplod 2009-01-28T15:26:40Z aedon.locean-ipsl.upmc.fr (Darwin)
10%
11%   * replaced by time_serie_jjas_df.m
12%
13%-
14
15clear;
16
17status=load('eof_1030_jjas.mat','C','olr');
18C=status.C;
19olr=status.olr;
20clear status;
21
22olr=olr';
23PC1=olr*C;
24
25%%%%%%% cronique de la VP1
26time_serie_olr1=PC1(:,425);
27time_serie_olr2=PC1(:,424);
28time_serie_olr3=PC1(:,423);
29
30dt_olr1=std(time_serie_olr1);
31dt_olr2=std(time_serie_olr2);
32dt_olr3=std(time_serie_olr3);
33
34for a=1:3416;
35   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1;
36   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2;
37   time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3;
38end;
39
40save('eof1_1030.txt','time_serie_olr1','-ASCII');
41save('eof2_1030.txt','time_serie_olr2','-ASCII');
42save('eof3_1030.txt','time_serie_olr3','-ASCII');
43
44x=[1:3416]';
45for a=1:22;
46   if a<12;
47      figure(1);
48      subplot(4,3,a);
49   elseif a<23;
50      figure(2);
51      subplot(4,3,a-11);
52   else
53      figure(3);
54      subplot(4,3,a-22);
55   end;
56   clear koro1;
57   debut=(a-1)*122+1;
58   fin=a*122;
59   koro1=time_serie_olr1(debut:fin);
60
61   clear x;
62   x=[1:122]';
63   plot(x,koro1,'r');
64   hold on
65   y=zeros(122,1);
66   plot(x,y,'k:');
67   title(a+1978,'FontSize',8);
68   if a==2;
69       text(0,5.5,'serie temporelle VP1');
70   elseif a==13;
71       text(0,5.5,'serie temporelle VP1');
72   elseif a==24;
73       text(0,5.5,'serie temporelle VP1');
74   end;
75   set (gca,'tickDir','out');
76   axis([1 122 -3 3]);
77
78   set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6);
79   set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);
80end;
Note: See TracBrowser for help on using the repository browser.