Changeset 1098 for trunk/src/find_field_cells.m
- Timestamp:
- Apr 13, 2021, 7:19:35 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/find_field_cells.m
r1095 r1098 429 429 NbDim(icell)=size(Data.(Data.ListVarName{ivar}),2); 430 430 else 431 DimIndex=find(strcmp(Data.VarDimName{ivar} ,Data.ListDimName));431 DimIndex=find(strcmp(Data.VarDimName{ivar}{2},Data.ListDimName)); 432 432 NbDim(icell)= Data.DimValue(DimIndex); 433 433 end … … 497 497 for ivar=ind_discrete 498 498 DimCell=Data.VarDimName{ivar}; 499 if numel(DimCell)==1 && strcmp(DimCell_x{1},DimCell{1}) 499 %if numel(DimCell)==1 && strcmp(DimCell_x{1},DimCell{1}) 500 if strcmp(DimCell_x{1},DimCell{1}) 500 501 y_nbre(icell)=y_nbre(icell)+1; 501 502 Cell1DPlot{icell}.YIndex_discrete(y_nbre(icell))=ivar;
Note: See TracChangeset
for help on using the changeset viewer.