Changeset 512 for trunk/src/proj_field.m


Ignore:
Timestamp:
Aug 3, 2012, 2:50:24 PM (12 years ago)
Author:
sommeria
Message:

various cleaning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/proj_field.m

    r494 r512  
    3636%           .VarAttribute: cell of structures s containing names and values of variable attributes (s.name=value) for each variable of .ListVarName
    3737%        .Var1, .Var2....: variables (Matlab arrays) with names listed in .ListVarName
    38 % The variables are grouped in 'fields', made of a set of variables with common dimensions (using the function find_field_indices)
     38% The variables are grouped in 'fields', made of a set of variables with common dimensions (using the function find_field_cells)
    3939% The variable attribute 'Role' is used to define the role for plotting:
    4040%       Role = 'scalar':  (default) represents a scalar field
     
    178178[ProjData,errormsg]=proj_heading(FieldData,ObjectData);
    179179ProjData.NbDim=0;
    180 [CellVarIndex,NbDimCell,VarTypeCell,errormsg]=find_field_indices(FieldData);
     180[CellVarIndex,NbDimCell,VarTypeCell,errormsg]=find_field_cells(FieldData);
    181181if ~isempty(errormsg)
    182182    errormsg=['error in proj_field/proj_points:' errormsg];
     
    372372% DimVarIndex=0;%initilise list of indices for dimension variables
    373373idimvar=0;
    374 [CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_indices(FieldData);
     374[CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_cells(FieldData);
    375375if ~isempty(errormsg)
    376376    errormsg=['error in proj_field/proj_patch:' errormsg];
     
    593593
    594594%% group the variables (fields of 'FieldData') in cells of variables with the same dimensions
    595 [CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_indices(FieldData);
     595[CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_cells(FieldData);
    596596if ~isempty(errormsg)
    597597    errormsg=['error in proj_field/proj_line:' errormsg];
     
    10081008idimvar=0;
    10091009
    1010 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_indices(FieldData);
     1010[CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_cells(FieldData);
    10111011if ~isempty(errormsg)
    10121012    errormsg=['error in proj_field/proj_plane:' errormsg];
     
    16791679%-----------------------------------------------------------------
    16801680idimvar=0;
    1681 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_indices(FieldData);
     1681[CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_cells(FieldData);
    16821682if ~isempty(errormsg)
    16831683    errormsg=['error in proj_field/proj_plane:' errormsg];
Note: See TracChangeset for help on using the changeset viewer.