Changeset 606 for trunk/src/get_field.m


Ignore:
Timestamp:
Apr 7, 2013, 10:14:45 AM (8 years ago)
Author:
sommeria
Message:

bug on compilation solved (still to test with transform_field fct). faster browser inrtroduced. Various bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field.m

    r596 r606  
    367367for icell=1:numel(CellInfo)
    368368    VarIndex=CellInfo{icell}.VarIndex;
    369     if ~isempty(find(VarIndex==yindex,1)) && (isempty(VarRole{icell}.coord_x)||~isequal(VarRole{icell}.coord_x,VarIndex))
     369    if ~isempty(find(VarIndex==yindex,1)) && (isempty(CellInfo{icell}.VarIndex_coord_x)||~isequal(CellInfo{icell}.VarIndex_coord_x,VarIndex))
    370370        cell_select=icell;
    371371        break
     
    374374val=get(handles.abscissa,'Value');
    375375set(handles.abscissa,'Value',min(val,2));
    376 coord_x_index=VarRole{cell_select}.coord;
     376coord_x_index=CellInfo{cell_select}.VarIndex_coord_x;
    377377coord_x_index=coord_x_index(coord_x_index~=0);
    378 set(handles.XVarname,'String',[{''}; (Field.ListVarName(coord_x_index))'; (Field.ListVarName(VarIndex))'])
     378set(handles.XVarName,'String',[{''}; (Field.ListVarName(coord_x_index))'; (Field.ListVarName(VarIndex))'])
    379379
    380380%------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.