source: trunk/src/SIMULS_IRCAAM/time_serie_afr_30100.m @ 25

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

small homogenization

File size: 1.6 KB
Line 
1%
2
3clear;
4close all;
5
6status=load('eof_30100_ircaam.mat','C','olr');
7C=status.C;
8olr=status.olr;
9clear status;
10olr=olr';
11PC1=olr*C;
12
13%%%%%%% cronique de la VP1
14time_serie_olr1=PC1(:,360);
15time_serie_olr2=PC1(:,359);
16
17dt_olr1=std(time_serie_olr1);
18dt_olr2=std(time_serie_olr2);
19
20for a=1:3538;
21   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1;
22   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2;
23end;
24
25status=save('eof1_AFR_30100.txt','time_serie_olr1','-ASCII');
26status=save('eof2_AFR_30100.txt','time_serie_olr2','-ASCII');
27
28x=[1:3538]';
29for a=1:29;
30   if a<12;
31      figure(1);
32      subplot(4,3,a);
33   elseif a<23;
34      figure(2);
35      subplot(4,3,a-11);
36   else
37      figure(3);
38      subplot(4,3,a-22);
39   end;
40   clear koro1;
41   debut=(a-1)*122+1;
42   fin=a*122;
43   koro1=time_serie_olr1(debut:fin);
44   koro2=time_serie_olr2(debut:fin);
45   clear x;
46   x=[1:122]';
47   plot(x,koro1,'r');
48   hold on
49   plot(x,koro2,'k');
50   y=zeros(122,1);
51   plot(x,y,'k:');
52   title(a+1970,'FontSize',8);
53   if a==2;
54       text(0,5.5,'serie temporelle eof AFR 30100');
55   elseif a==13;
56       text(0,5.5,'serie temporelle eof AFR 30100');
57   elseif a==24;
58       text(0,5.5,'serie temporelle eof AFR 30100');
59   end;
60   set (gca,'tickDir','out');
61   axis([1 122 -3 3]);
62
63   set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6);
64set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);
65end;
66
67figure(1);
68print('-depsc2','time_serie_eof_afr_30100a.eps');
69figure(2);
70print('-depsc2','time_serie_eof_afr_30100b.eps');
71figure(3);
72print('-depsc2','time_serie_eof_afr_30100c.eps');
Note: See TracBrowser for help on using the repository browser.