Changeset 82 for trunk/src/civ.m


Ignore:
Timestamp:
Apr 15, 2010, 5:12:42 AM (14 years ago)
Author:
sommeria
Message:

mouse_up: improve zoom : keep the selected point at the same place on the graph
plot_field: memorize the max coordiantes on the graph (AxeData?) for zoom out
set_object: input possibilities extende to restrict menu (for mask objects)
uvmat: improvement of mask creation
civ: select mask option for civ2 when select(ed for civ1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r81 r82  
    295295   end
    296296end
    297 [RootPath,RootFile,str1,str2,str_a,str_b,ext,nom_type,subdir]=name2display(fileinput)
     297[RootPath,RootFile,str1,str2,str_a,str_b,ext,nom_type,subdir]=name2display(fileinput);
    298298filebase=fullfile(RootPath,RootFile);
    299299% if isequal(nom_type,'*')% all fields in a single file ( movie files)
     
    355355set(handles.ImaDoc,'String',ext);
    356356if ~isempty(num_i1)
    357     ref_i=num_i1
    358     'TEStbrowse'
    359     num_i2
     357    ref_i=num_i1;
    360358    if ~isempty(num_i2)
    361359        ref_i=floor((ref_i+num_i2)/2);% reference image number corresponding to the file
     
    21092107end
    21102108if isfield(sparam,'CivBin')
    2111     CivBin=sparam.CivBin
     2109    CivBin=sparam.CivBin;
    21122110end
    21132111if isfield(sparam,'Civ1Bin')
     
    23562354                    par_civ1.maskname=name_generator(maskbase,num1_mask,1,'.png','_i');
    23572355                    if exist(par_civ1.maskname,'file')
    2358                         par_civ1.maskflag='y'; 
     2356                        par_civ1.maskflag='y';
    23592357                    else
    23602358                        par_civ1.maskname='noFile use default';
     
    26642662            save(civAllxml,[filename_cmx([1:end-4]) '.xml']);
    26652663            %cmd=char({cmd;[CivBin ' -f ' [filename_cmx([1:end-4]) '.xml'] ' ' civAllCmd]});
    2666             cmd=[cmd '\n' CivBin ' -f ' filename_cmx(1:end-4) '.xml '  civAllCmd]
     2664            cmd=[cmd '\n' CivBin ' -f ' filename_cmx(1:end-4) '.xml '  civAllCmd];
    26672665        end
    26682666      % create the .bat file:
     
    39933991    set(handles.mask_fix2,'String',mask_displ)
    39943992end
     3993set(handles.mask_civ2,'Value',maskval)
    39953994
    39963995%------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.