source: trunk/src/SIMULS_IRCAAM/obsolete/time_serie_tr_1030.m @ 91

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

unparametrized files in obsolete directory

File size: 1.7 KB
Line 
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
16clear;
17close all;
18
19status=load('eof_1030_ircaam_tr.mat','C','olr');
20C=status.C;
21olr=status.olr;
22clear status;
23
24olr=olr';
25PC1=olr*C;
26
27%%%%%%% cronique de la VP1
28time_serie_olr1=PC1(:,360);
29time_serie_olr2=PC1(:,359);
30
31dt_olr1=std(time_serie_olr1);
32dt_olr2=std(time_serie_olr2);
33
34for 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;
37end;
38
39save('eof1_TR_1030.txt','time_serie_olr1','-ASCII');
40save('eof2_TR_1030.txt','time_serie_olr2','-ASCII');
41
42x=[1:3538]';
43for 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 1030');
69   elseif a==13;
70       text(0,5.5,'serie temporelle eof TR 1030');
71   elseif a==24;
72       text(0,5.5,'serie temporelle eof TR 1030');
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);
78set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);
79end;
80
81figure(1);
82print('-depsc2','time_serie_eof_tr_1030a.eps');
83figure(2);
84print('-depsc2','time_serie_eof_tr_1030b.eps');
85figure(3);
86print('-depsc2','time_serie_eof_tr_1030c.eps');
Note: See TracBrowser for help on using the repository browser.