- Timestamp:
- Mar 30, 2016, 8:54:21 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SPESO/ana2015/offline_analysis/offline_analyse_colormaps_2016JanFeb.m
r428 r430 14 14 15 15 analyse_date=datestr(now, 'yyyymmdd'); 16 figures_path=[plots_basedir 'offline_analysis' '/' '2016JanFeb' '/' 'analysis_for' analyse_date ' /'];16 figures_path=[plots_basedir 'offline_analysis' '/' '2016JanFeb' '/' 'analysis_for' analyse_date '_02/']; 17 17 18 18 mkdir(figures_path); … … 109 109 fprintf(fid, '\t%s\n', '<head></head>'); 110 110 fprintf(fid, '\t%s\n', '<body>'); 111 fprintf(fid, '\t\t%s\n', ['<H1>Simulation time:' datestr(now) '</H1>']); 111 112 112 113 % all selection … … 207 208 208 209 % for different XPOS signal/bg 209 for XPOSloop=1:length(XPOS_selection)210 for RESEAUloop=1:length(XPOS_selection) 210 211 fprintf(fid, '\t\t\t%s\n', '<tr>'); 211 212 fprintf(fid, '\t\t\t\t%s\n','<td>'); … … 217 218 for QICT1loop=1:length(QICT1_selection) 218 219 img_name=[data_names{dataloop} '_monthly_'... 219 sprintf('%07d',(0+QICT1loop*10+LPMloop*100+POSloop*1000+ XPOSloop*10000))...220 sprintf('%07d',(0+QICT1loop*10+LPMloop*100+POSloop*1000+RESEAUloop*10000))... 220 221 '.png']; 221 222 fprintf(fid, '\t\t\t\t%s\n', '<td>'); … … 237 238 for QICT1loop=1:length(QICT1_selection) 238 239 img_name=[data_names{dataloop} 'histc_monthly_'... 239 sprintf('%07d',(1+QICT1loop*10+LPMloop*100+POSloop*1000+ XPOSloop*10000))...240 sprintf('%07d',(1+QICT1loop*10+LPMloop*100+POSloop*1000+RESEAUloop*10000))... 240 241 '.png']; 241 242 fprintf(fid, '\t\t\t\t%s\n', '<td>'); … … 249 250 % each 2nd datatype - comparison of two detectors 250 251 if mod(dataloop,2)==0 252 for XPOSloop=1:length(XPOS_selection) 251 253 fprintf(fid, '\t\t\t%s\n', '<tr>'); 252 254 fprintf(fid, '\t\t\t\t%s\n','<td>'); … … 258 260 for QICT1loop=1:length(QICT1_selection) 259 261 img_name=['histc_monthly_'... 260 sprintf('%07d',(3+QICT1loop*10+LPMloop*100+POSloop*1000+ XPOSloop*10000))...262 sprintf('%07d',(3+QICT1loop*10+LPMloop*100+POSloop*1000+RESEAUloop*10000+100000*XPOSloop))... 261 263 '.png']; 262 264 fprintf(fid, '\t\t\t\t%s\n', '<td>'); … … 267 269 end; % QICTloop 268 270 fprintf(fid, '\t\t\t%s\n', '</tr>'); 271 end; %XPOSloop 269 272 end; % mod(dataloop,2)==0 270 end;% XPOSloop273 end;%RESEAUloop 271 274 272 275 end; % LPMloop … … 305 308 % base selection 306 309 base_selected=allData.selected; 307 base_selected_text=allData.select ed;310 base_selected_text=allData.selection; 308 311 309 312 if dataloop==1 313 for XPOSloop=1:length(XPOS_selection) 310 314 %============ comparison of two detectors LPM, SPM ============== 315 data_select(XPOS_selection{XPOSloop}{1}{:}); 316 data_select(XPOS_selection{XPOSloop}{2}{:}); 311 317 fih = figure(1); 312 318 bins=data_histc_multiDet(POS_var{POSloop}, data_types((RESEAUloop-1)*2+1), data_types((RESEAUloop-1)*2+2),... … … 318 324 set(gcf,'PaperUnits','inches','PaperPosition',[0 0 12 9]); 319 325 print(fih, '-dpng', '-r300',[ figures_path 'histc_monthly_'... 320 sprintf('%07d',(3+QICT1loop*10+LPMloop*100+POSloop*1000+10000*RESEAUloop ))...326 sprintf('%07d',(3+QICT1loop*10+LPMloop*100+POSloop*1000+10000*RESEAUloop+100000*XPOSloop))... 321 327 '.png' ]); 322 328 close(fih); 323 329 % -------------------------------------------- 330 allData.selected=base_selected; 331 allData.selection=base_selected_text; 332 end; % XPOSloop 324 333 end; % if dataloop 325 326 334 327 335 … … 356 364 %--------------------------------------------------------- 357 365 allData.selected=base_selected; 358 allData.select ed=base_selected_text;366 allData.selection=base_selected_text; 359 367 360 368 data_select(XPOS_selection{RESEAUloop}{1}{:});
Note: See TracChangeset
for help on using the changeset viewer.