Ignore:
Timestamp:
01/07/09 16:49:58 (16 years ago)
Author:
pinsard
Message:

correction of usage of print function, fix side effect of load function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mode_sahelien/composite_wind925_eof23_2590.m

    r23 r24  
    4949% ouverture / lecture du fichier 
    5050status=load('ind_olr_25_90_eof23.txt'); 
     51ind_olr_25_90_eof23=status; 
     52clear status; 
    5153ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    5254 
     
    208210% ouverture / lecture du fichier 
    209211status=load('ind_olr_25_90_eof23.txt'); 
     212ind_olr_25_90_eof23=status; 
     213clear status; 
     214 
    210215ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    211216k=122*28; 
     
    324329figure(1); 
    325330orient('landscape'); 
    326 status=load('pression.mat'); 
     331status=load('pression.mat','pression'); 
     332pression=status.pression; 
     333clear status; 
    327334 
    328335for e=1:4; 
     
    386393end; 
    387394 
    388 status=print('-depsc2','composite_eof23_2090_u925_hgt_part1.eps'); 
     395print('-depsc2','composite_eof23_2090_u925_hgt_part1.eps'); 
    389396 
    390397figure(2); 
    391398orient('landscape'); 
    392 status=load('pression.mat'); 
     399status=load('pression.mat','pression'); 
     400pression=status.pression; 
     401clear status; 
    393402 
    394403for e=1:4; 
     
    452461end; 
    453462 
    454 status=print('-depsc2','composite_eof23_2090_u925_hgt_part2.eps'); 
     463print('-depsc2','composite_eof23_2090_u925_hgt_part2.eps'); 
    455464 
    456465figure(3); 
    457466orient('landscape'); 
    458 status=load('pression.mat'); 
     467status=load('pression.mat','pression'); 
     468pression=status.pression; 
     469clear status; 
    459470 
    460471for e=1:4; 
     
    518529end; 
    519530 
    520 status=print('-depsc2','composite_eof23_2090_u925_hgt_part3.eps'); 
     531print('-depsc2','composite_eof23_2090_u925_hgt_part3.eps'); 
    521532 
    522533figure(4); 
    523534orient('landscape'); 
    524 status=load('pression.mat'); 
     535status=load('pression.mat','pression'); 
     536pression=status.pression; 
     537clear status; 
    525538 
    526539for e=1:4; 
     
    584597end; 
    585598 
    586 status=print('-depsc2','composite_eof23_2090_u925_hgt_part4.eps'); 
     599print('-depsc2','composite_eof23_2090_u925_hgt_part4.eps'); 
Note: See TracChangeset for help on using the changeset viewer.