Changeset 527 for trunk/src/uvmat.m


Ignore:
Timestamp:
Aug 20, 2012, 11:12:46 PM (12 years ago)
Author:
sommeria
Message:

various bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r526 r527  
    20632063[Field{1},ParamOut,errormsg] = read_field(FileName,UvData.FileType{1},ParamIn,frame_index);
    20642064if ~isempty(errormsg)
    2065     errormsg=['uvmat/refresh_field/read_field: ' FileName ': ' errormsg];
     2065    errormsg=['uvmat / refresh_field / read_field( ' FileName ') / ' errormsg];
    20662066    return
    20672067end 
     
    23962396[CellVarIndex,NbDim,VarType,errormsg]=find_field_cells(UvData.Field);% analyse  the input field structure
    23972397if ~isempty(errormsg)
    2398     errormsg=['error in uvmat/refresh_field/find_field_cells: ' errormsg];% display error
     2398    errormsg=['uvmat /refresh_field / find_field_cells / ' errormsg];% display error
    23992399    return
    24002400end
     
    24042404end
    24052405
    2406 %% get bounds and mesh (needed for mouse action and to open set_object)
     2406%% get bounds and mesh (needed  to propose default options for projection objects)
    24072407if NbDim>1
    24082408    XName=''; %default
     
    24122412        XName=UvData.Field.ListVarName{VarType{imax}.coord_x};
    24132413        YName=UvData.Field.ListVarName{VarType{imax}.coord_y};
    2414         %nbvec=length(UvData.Field.(XName));%nbre of measurement points (e.g. vectors)
    24152414        test_x=1;%test for unstructured coordinates
    24162415        if ~isempty(VarType{imax}.coord_z)
     
    24252424            YName=UvData.Field.ListVarName{VarType{imax}.coord(NbDim-1)}; %structured coordinates
    24262425        end
    2427         % VarIndex=CellVarIndex{imax}; % list of variable indices
    24282426        DimIndex=VarDimIndex{CellVarIndex{imax}(1)}; %list of dim indices for the variable
    24292427        nbpoints_x=DimValue(DimIndex(NbDim));
Note: See TracChangeset for help on using the changeset viewer.