1 | function 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 | %- |
---|
80 | close all; |
---|
81 | |
---|
82 | global IRCAAM_OD; |
---|
83 | |
---|
84 | figure(1); |
---|
85 | orient('landscape'); |
---|
86 | phase_num=1; |
---|
87 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
88 | composite_olr_phase_num(phase_num); |
---|
89 | title=['Phase', int2str(phase_num)]; |
---|
90 | text(-240,10,title); |
---|
91 | phase_num=phase_num+1; |
---|
92 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
93 | composite_olr_phase_num(phase_num); |
---|
94 | title=['Phase', int2str(phase_num)]; |
---|
95 | text(-240,10,title); |
---|
96 | phase_num=phase_num+1; |
---|
97 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
98 | composite_olr_phase_num(phase_num); |
---|
99 | title=['Phase', int2str(phase_num)]; |
---|
100 | text(-240,10,title); |
---|
101 | phase_num=phase_num+1; |
---|
102 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
103 | composite_olr_phase_num(phase_num); |
---|
104 | title=['Phase', int2str(phase_num)]; |
---|
105 | text(-240,10,title); |
---|
106 | |
---|
107 | |
---|
108 | figure(2); |
---|
109 | orient('landscape'); |
---|
110 | phase_num=phase_num+1; |
---|
111 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
112 | composite_olr_phase_num(phase_num); |
---|
113 | title=['Phase', int2str(phase_num)]; |
---|
114 | text(-240,10,title); |
---|
115 | phase_num=phase_num+1; |
---|
116 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
117 | composite_olr_phase_num(phase_num); |
---|
118 | title=['Phase', int2str(phase_num)]; |
---|
119 | text(-240,10,title); |
---|
120 | phase_num=phase_num+1; |
---|
121 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
122 | composite_olr_phase_num(phase_num); |
---|
123 | title=['Phase', int2str(phase_num)]; |
---|
124 | text(-240,10,title); |
---|
125 | phase_num=phase_num+1; |
---|
126 | subplot(4,1,mod(phase_num-1,4)+1); |
---|
127 | composite_olr_phase_num(phase_num); |
---|
128 | title=['Phase', int2str(phase_num)]; |
---|
129 | text(-240,10,title); |
---|
130 | |
---|
131 | clear phase_num; |
---|
132 | |
---|
133 | figure(1); |
---|
134 | fullfilename=[IRCAAM_OD,'composite_olr_phase_14.eps']; |
---|
135 | print('-depsc2',fullfilename); |
---|
136 | clear fullfilename; |
---|
137 | |
---|
138 | figure(2); |
---|
139 | fullfilename=[IRCAAM_OD,'composite_olr_phase_58.eps']; |
---|
140 | print('-depsc2',fullfilename); |
---|
141 | clear fullfilename; |
---|