Changeset 512 for trunk/src/proj_field.m
 Timestamp:
 Aug 3, 2012, 2:50:24 PM (12 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/proj_field.m
r494 r512 36 36 % .VarAttribute: cell of structures s containing names and values of variable attributes (s.name=value) for each variable of .ListVarName 37 37 % .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) 39 39 % The variable attribute 'Role' is used to define the role for plotting: 40 40 % Role = 'scalar': (default) represents a scalar field … … 178 178 [ProjData,errormsg]=proj_heading(FieldData,ObjectData); 179 179 ProjData.NbDim=0; 180 [CellVarIndex,NbDimCell,VarTypeCell,errormsg]=find_field_ indices(FieldData);180 [CellVarIndex,NbDimCell,VarTypeCell,errormsg]=find_field_cells(FieldData); 181 181 if ~isempty(errormsg) 182 182 errormsg=['error in proj_field/proj_points:' errormsg]; … … 372 372 % DimVarIndex=0;%initilise list of indices for dimension variables 373 373 idimvar=0; 374 [CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_ indices(FieldData);374 [CellVarIndex,NbDim,VarTypeCell,errormsg]=find_field_cells(FieldData); 375 375 if ~isempty(errormsg) 376 376 errormsg=['error in proj_field/proj_patch:' errormsg]; … … 593 593 594 594 %% 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); 596 596 if ~isempty(errormsg) 597 597 errormsg=['error in proj_field/proj_line:' errormsg]; … … 1008 1008 idimvar=0; 1009 1009 1010 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_ indices(FieldData);1010 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_cells(FieldData); 1011 1011 if ~isempty(errormsg) 1012 1012 errormsg=['error in proj_field/proj_plane:' errormsg]; … … 1679 1679 % 1680 1680 idimvar=0; 1681 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_ indices(FieldData);1681 [CellVarIndex,NbDimVec,VarTypeCell,errormsg]=find_field_cells(FieldData); 1682 1682 if ~isempty(errormsg) 1683 1683 errormsg=['error in proj_field/proj_plane:' errormsg];
Note: See TracChangeset
for help on using the changeset viewer.