Changeset 34


Ignore:
Timestamp:
09/09/09 17:02:57 (15 years ago)
Author:
pinsard
Message:

run_octave is a global variable

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/private/script_correc.m

    r31 r34  
    3737%  - ``script_correc_histogramme_erreur.dat`` : 
    3838% 
     39% ``script_correc`` save also computeed variables in some Matlab v5 mat-file (big endian) 
     40% files : 
     41% 
     42%  - ``base_mix.mat`` : 
     43% 
     44%  - ``net_opti.mat`` : 
     45% 
     46%  - ``norm_param.mat`` : 
     47% 
     48% These files are read in ``script_correc_part2.m``. 
     49 
    3950% If ``fid_log`` is not set, log informations are printed on stdout. 
    4051% 
  • trunk/toolbox/plot_image.m

    r30 r34  
    2828% ======== 
    2929% 
    30 % tp_mlp_aerosols_profile.sh_ 
     30% tp_mlp_aerosols_profile.m_ 
    3131% 
    32 % .. _tp_mlp_aerosols_profile.sh : tp_mlp_aerosols_profile.sh.html 
     32% .. _tp_mlp_aerosols_profile.m : tp_mlp_aerosols_profile.m.html 
    3333% 
    3434% colorbartype1.m_ 
     
    3939% ==== 
    4040% 
    41 % utilisation de run_octave au lieu de OCTAVE_VERSION (pb de scope de variable entre main 
    42 % et fonction ?) 
     41% amélioration des colorbar 
    4342% 
    4443% EVOLUTIONS 
     
    4746% $Id$ 
    4847% 
     48% - fplod 2009-09-09T14:49:56Z aedon.locean-ipsl.upmc.fr (Darwin) 
     49% 
     50%   * usage of global variable ``run_octave`` 
    4951% 
    5052% - fplod 2009-09-08T10:56:02Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    6971%- 
    7072 
     73%  
     74global run_octave; 
     75% 
    7176Image2d=nan*ones(512,1024); 
    7277Image2d(Valid_Pixels)=data; 
     
    8994Cdirect(isnan(Cdirect))=N+1; 
    9095clf 
    91 if ~ exist('OCTAVE_VERSION','builtin') 
     96if (run_octave == 0) 
    9297 cdirect_plot=Cdirect; 
    9398else 
     
    104109 
    105110%Colorbar 
    106 if ~ exist('OCTAVE_VERSION','builtin') 
     111if (run_octave == 0) 
    107112 pos=[0.2 0.1 0.6 0.04]; 
    108113 lev=linspace(CLim(1),CLim(2),10); 
  • trunk/toolbox/tp_mlp_aerosols_startup.m

    r30 r34  
    4242% $Id$ 
    4343% 
     44% - fplod 2009-09-09T14:49:20Z aedon.locean-ipsl.upmc.fr (Darwin) 
     45% 
     46%   * ``run_octave`` is now a global variable 
     47% 
    4448% - fplod 2009-09-08T10:51:15Z aedon.locean-ipsl.upmc.fr (Darwin) 
    4549% 
     
    7175clear all 
    7276% 
     77global run_octave 
     78% 
    7379% detect if either octave or matlab running 
    7480if ~ exist('OCTAVE_VERSION','builtin') 
Note: See TracChangeset for help on using the changeset viewer.