source: trunk/src/mode_sahelien/composite_olr_phase.m @ 45

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

parametrisation of composite_olr_phase....m; some unparametrized files in obsolete directory

File size: 3.0 KB
Line 
1function composite_olr_phase()
2% composite_olr_phase ++
3%+
4% module
5% ======
6%
7% ++
8%
9% DESCRIPTION
10% ===========
11%
12% From ``olr.day.mean.nc``, composite_olr_phase compute ++,
13% roduce ++ and plot ++
14% 2 Postscript files time_serie_type_tps_phase14.eps and
15% time_serie_type_tps_phase58.eps are written.
16%
17% CAUTIONS
18% ========
19%
20% By heritage of composite_olr_phase_num.m_ :
21%
22% Need Statistics_Toolbox because of nanmean
23%
24% can't work with octave because of ncload and nanmean
25%
26%
27% EXAMPLES
28% ========
29%
30% ::
31%
32% >> composite_olr_phase();
33%
34% SEE ALSO
35% ========
36%
37% lagged_correlations_eof2_eof3_1030.m_
38%
39% .. _lagged_correlations_eof2_eof3_1030.m : lagged_correlations_eof2_eof3_1030.m.html
40%
41% composite_olr_phase_num.m_
42%
43% .. _composite_olr_phase_num.m : composite_olr_phase_num.m.html
44%
45% time_serie_histog_phase.m_
46%
47% .. _time_serie_histog_phase.m : time_serie_histog_phase.m.html
48%
49% time_serie_histog_phase_num.m_
50%
51% .. _time_serie_histog_phase_num.m : time_serie_histog_phase_num.m.html
52%
53% TODO
54% ====
55%
56% improve description
57%
58% improve file pb
59%
60% use return function
61%
62% By heritage of composite_olr_phase_num.m_ :
63%
64% test at the beginning if Statistics_Toolbox  available
65%
66% test at the beginning if octave is running
67%
68% EVOLUTIONS
69% ==========
70%
71% $Id$
72%
73% - fplod 2009-01-28T09:35:17Z aedon.locean-ipsl.upmc.fr (Darwin)
74
75%   * replace calls to composite_olr_phase[1-8] by calls to
76%     composite_olr_phase_num
77%   * add comments in ReST
78%
79%-
80close all;
81
82global IRCAAM_OD;
83
84figure(1);
85orient('landscape');
86phase_num=1;
87subplot(4,1,mod(phase_num-1,4)+1);
88composite_olr_phase_num(phase_num);
89title=['Phase', int2str(phase_num)];
90text(-240,10,title);
91phase_num=phase_num+1;
92subplot(4,1,mod(phase_num-1,4)+1);
93composite_olr_phase_num(phase_num);
94title=['Phase', int2str(phase_num)];
95text(-240,10,title);
96phase_num=phase_num+1;
97subplot(4,1,mod(phase_num-1,4)+1);
98composite_olr_phase_num(phase_num);
99title=['Phase', int2str(phase_num)];
100text(-240,10,title);
101phase_num=phase_num+1;
102subplot(4,1,mod(phase_num-1,4)+1);
103composite_olr_phase_num(phase_num);
104title=['Phase', int2str(phase_num)];
105text(-240,10,title);
106
107
108figure(2);
109orient('landscape');
110phase_num=phase_num+1;
111subplot(4,1,mod(phase_num-1,4)+1);
112composite_olr_phase_num(phase_num);
113title=['Phase', int2str(phase_num)];
114text(-240,10,title);
115phase_num=phase_num+1;
116subplot(4,1,mod(phase_num-1,4)+1);
117composite_olr_phase_num(phase_num);
118title=['Phase', int2str(phase_num)];
119text(-240,10,title);
120phase_num=phase_num+1;
121subplot(4,1,mod(phase_num-1,4)+1);
122composite_olr_phase_num(phase_num);
123title=['Phase', int2str(phase_num)];
124text(-240,10,title);
125phase_num=phase_num+1;
126subplot(4,1,mod(phase_num-1,4)+1);
127composite_olr_phase_num(phase_num);
128title=['Phase', int2str(phase_num)];
129text(-240,10,title);
130
131clear phase_num;
132
133figure(1);
134fullfilename=[IRCAAM_OD,'composite_olr_phase_14.eps'];
135print('-depsc2',fullfilename);
136clear fullfilename;
137
138figure(2);
139fullfilename=[IRCAAM_OD,'composite_olr_phase_58.eps'];
140print('-depsc2',fullfilename);
141clear fullfilename;
Note: See TracBrowser for help on using the repository browser.