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

Last change on this file since 91 was 85, checked in by pinsard, 14 years ago

better representation of variable parts in filenames

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