Changeset 847 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jan 15, 2015, 6:05:57 PM (6 years ago)
Author:
sommeria
Message:

various

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r844 r847  
    41204120% --- read the data displayed for the input rootfile windows (new): TODO use read_GUI
    41214121%------------------------------------------------------------------------
    4122 function [RootPath,SubDir,RootFile,FileIndices,FileExt]=read_file_boxes(handles)
     4122function [RootPath,SubDir,RootFile,FileIndices,FileExt,NomType]=read_file_boxes(handles)
    41234123
    41244124InputFile=read_GUI(handles.InputFile);
     
    41284128FileIndices=InputFile.FileIndex;
    41294129FileExt=InputFile.FileExt;
    4130 
     4130NomType=InputFile.NomType;
    41314131
    41324132%------------------------------------------------------------------------
     
    43214321
    43224322%----------------------------------------------------------------
    4323 % --- Executes on menu selection FieldName
     4323% --- Executes on menu selection FieldName_1
    43244324function FieldName_1_Callback(hObject, eventdata, handles)
    43254325%-------------------------------------------------
     
    44684468    case 'image'
    44694469        %% look for image corresponding to civ data
    4470         imagename='';
    44714470        if  isfield(UvData.Field,'Civ2_ImageA')%get the corresponding input image in the netcdf file
    44724471            imagename=UvData.Field.Civ2_ImageA;
     
    44744473            imagename=UvData.Field.Civ1_ImageA;
    44754474        else
     4475            [RootPath,SubDir,RootFile,FileIndex,FileExt]=read_file_boxes(handles);
    44764476            SubDirBase=regexprep(SubDir,'\..*','');%take the root part of SubDir, before the first dot '.'
    4477             imagename=fullfile_uvmat(RootPath,SubDirBase,RootFile,'.png',NomType,i1,[],j1,[]);
     4477            imagename=fullfile_uvmat(RootPath,SubDirBase,RootFile,'.png','_1',i1,[],j1,[]);
    44784478        end
    44794479        if ~exist(imagename,'file')
Note: See TracChangeset for help on using the changeset viewer.