source: trunk/src/mode_sahelien/time_serie_ER_rossby_1030_complet.m @ 23

Last change on this file since 23 was 23, checked in by pinsard, 16 years ago

replace fcommands save, load and print by function calls

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