- Timestamp:
- 01/28/09 11:09:56 (15 years ago)
- Location:
- trunk/src/mode_sahelien
- Files:
-
- 9 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mode_sahelien/time_serie_histog_phase.m
r24 r41 1 function time_serie_histog_phase() 2 % time_serie_histog_phase plot WTs distribution++ 3 %+ 4 % module 5 % ====== 1 6 % 7 % ++ 8 % 9 % DESCRIPTION 10 % =========== 11 % 12 % From occu.txt and phase[1-8].txt, time_serie_histog_phase plots 13 % for each WT and each phase distribution ++. 14 % 2 Postscript files time_serie_type_tps_phase14.eps and 15 % time_serie_type_tps_phase58.eps are written. 16 % 17 % EXAMPLES 18 % ======== 19 % 20 % :: 21 % 22 % >> time_serie_histog_phase(); 23 % 24 % SEE ALSO 25 % ======== 26 % 27 % 28 % composite_olr_phase1.m_ 29 % 30 % .. _composite_olr_phase1.m : composite_olr_phase1.m.html 31 % 32 % time_serie_histog_phase_num.m_ 33 % 34 % .. _time_serie_histog_phase_num.m : time_serie_histog_phase_num.m.html 35 % 36 % TODO 37 % ==== 38 % 39 % TODO 40 % ==== 41 % 42 % improve description 43 % 44 % improve file pb 45 % 46 % use return function 47 % 48 % EVOLUTIONS 49 % ========== 50 % 51 % $Id$ 52 % 53 % - fplod 2009-01-28T09:35:17Z aedon.locean-ipsl.upmc.fr (Darwin) 54 % 55 % * replace calls to time_serie_histog_phase[1-8] by calls to 56 % time_serie_histog_phase_num 57 % * add comments in ReST 58 % * EPS files in IRCAAM_OD 59 %- 60 61 global IRCAAM_OD; 2 62 3 63 close all; 4 64 figure(1); 5 65 orient('landscape') 6 time_serie_histog_phase1; 7 time_serie_histog_phase2; 8 time_serie_histog_phase3; 9 time_serie_histog_phase4; 66 phase_num=1; 67 time_serie_histog_phase_num(phase_num) 68 phase_num=phase_num+1; 69 time_serie_histog_phase_num(phase_num) 70 phase_num=phase_num+1; 71 time_serie_histog_phase_num(phase_num) 72 phase_num=phase_num+1; 73 time_serie_histog_phase_num(phase_num) 10 74 11 75 figure(2); 12 76 orient('landscape') 13 time_serie_histog_phase5; 14 time_serie_histog_phase6; 15 time_serie_histog_phase7; 16 time_serie_histog_phase8; 77 phase_num=phase_num+1; 78 time_serie_histog_phase_num(phase_num) 79 phase_num=phase_num+1; 80 time_serie_histog_phase_num(phase_num) 81 phase_num=phase_num+1; 82 time_serie_histog_phase_num(phase_num) 83 phase_num=phase_num+1; 84 time_serie_histog_phase_num(phase_num) 85 86 clear phase_num: 17 87 18 88 figure(1); 19 print('-depsc2','time_serie_type_tps_phase14.eps'); 89 fullfilename=[IRCAAM_OD,'time_serie_type_tps_phase14.eps']; 90 print('-depsc2',fullfilename); 91 clear fullfilename; 92 20 93 figure(2); 21 print('-depsc2','time_serie_type_tps_phase58.eps'); 94 fullfilename=[IRCAAM_OD,'time_serie_type_tps_phase58.eps']; 95 print('-depsc2',fullfilename); 96 clear fullfilename; -
trunk/src/mode_sahelien/time_serie_histog_phase1.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase2.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase3.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 2 14 3 15 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase4.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase5.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase6.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase7.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase8.m
r24 r41 1 1 % 2 %+ 3 % 4 % EVOLUTIONS 5 % =========== 6 % 7 % $Id$ 8 % 9 % - fplod 2009-01-28T08:54:32Z aedon.locean-ipsl.upmc.fr (Darwin) 10 % 11 % * replaced by time_serie_histog_phase_num.m 12 % 13 %- 14 2 15 3 16 clear; -
trunk/src/mode_sahelien/time_serie_histog_phase_num.m
r38 r41 1 % 2 3 clear; 4 status=load('phase1.txt'); 5 phase1=status; 1 function time_serie_histog_phase_num(phase_num) 2 % time_serie_histog_phase_num ++explication between 1 and 8 3 4 %+ 5 % module 6 % ====== 7 % 8 % ++ 9 % 10 % DESCRIPTION 11 % =========== 12 % 13 % From occu.txt and phase``phase_num``.txt, time_serie_histog_phase_num plots 14 % for each WT ++. 15 % 16 % EXAMPLES 17 % ======== 18 % 19 % Following line read phase1.txt and occu.txt and plots for each WT ++ 20 % :: 21 % 22 % >> time_serie_histog_phase_num(1); 23 % 24 % SEE ALSO 25 % ======== 26 % 27 % 28 % composite_olr_phase1.m_ 29 % 30 % .. _composite_olr_phase1.m : composite_olr_phase1.m.html 31 % 32 % time_serie_histog_phase.m_ 33 % 34 % .. _time_serie_histog_phase.m : time_serie_histog_phase.m.html 35 % 36 % TODO 37 % ==== 38 % 39 % improve description 40 % 41 % improve file pb 42 % 43 % use return function 44 % 45 % EVOLUTIONS 46 % ========== 47 % 48 % $Id$ 49 % 50 % - fplod 2009-01-28T09:01:45Z aedon.locean-ipsl.upmc.fr (Darwin) 51 % 52 % * created from time_serie_histog_phase1.m to replace it as well as 53 % time_serie_histog_phase[2-8].m 54 % 55 %- 56 57 global IRCAAM_ID; 58 59 phase_num_min=1; 60 phase_num_max=8; 61 62 if nargin==1 63 % phase_num must be greater or equal to 1 and lower or equal to 8 64 if ((phase_num < phase_num_min) || (phase_num > phase_num_max)) 65 disp(['phase_num_min = ', int2str(phase_num_min)]); 66 disp(['phase_num_max = ', int2str(phase_num_max)]); 67 error('eee : phase_num must be between phase_num_min and phase_num_max'); 68 end 69 else 70 usage='usage : time_serie_histog_phase_num(phase_num)'; 71 disp(usage); 72 error('eee : wrong arguments numbers') 73 end 74 75 fullfilename=[IRCAAM_ID,'phase',int2str(phase_num),'.txt']; 76 status=load(fullfilename); 77 clear fullfilename; 78 79 phase=status; 6 80 clear status; 7 phase 1=reshape(phase1,122,28,3);81 phase=reshape(phase,122,28,3); 8 82 9 83 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 10 84 % on ouvre le fichier 11 status=load('occu.txt'); 85 fullfilename=[IRCAAM_ID,'occu.txt']; 86 status=load(fullfilename); 87 clear fullfilename; 12 88 occu=status; 13 89 clear status; … … 32 108 % condition 1 on est a un maximum deltas apres sont negetifs et 33 109 % delta avant postifs 34 if phase 1(b,a,1)==1;110 if phase(b,a,1)==1; 35 111 compteurmax=compteurmax+1; 36 112 type_temps_compomax(compteurmax,1,:)=occu_type_tps(b-10,a,:); … … 95 171 end; 96 172 173 offset=mod(phase_num-1,4)*4; 97 174 for a=1:4; 98 subplot(4,4,a );175 subplot(4,4,a+offset); 99 176 diff=kara_diff(:,a)*100; 100 177 jour=[-10:10]'; … … 116 193 if a==1; 117 194 title('Atl low','Fontsize',8,'Fontname','Arial'); 118 text(-20,0,'Phase1'); 195 ylabel=['Phase ' int2str(phase_num)]; 196 text(-20,0,ylabel); 197 clear ylabel; 119 198 elseif a==2; 120 199 title('Atl Ridge','Fontsize',8,'Fontname','Arial'); … … 125 204 end; 126 205 end; 206 clear offset;
Note: See TracChangeset
for help on using the changeset viewer.