Changeset 553


Ignore:
Timestamp:
Oct 12, 2012, 5:23:47 PM (12 years ago)
Author:
sommeria
Message:

bug corrected in series

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r533 r553  
    732732    MaxIndex_i=MaxIndexTable{iview,1};
    733733    MaxIndex_j=MaxIndexTable{iview,2};
    734     if isempty(MinIndex_j)
     734    if isempty(MinIndex_j)% only i index
    735735        if MinIndex_i>0
    736736            TimeTable{iview,1}=time(MinIndex_i);
     
    745745        TimeTable{iview,2}=time(first_i,first_j);
    746746        TimeTable{iview,3}=time(last_i,last_j);
     747        if size(time)>=[MaxIndex_i MaxIndex_j];
    747748        TimeTable{iview,4}=time(MaxIndex_i,MaxIndex_j);
     749        end
    748750    end
    749751    set(handles.TimeTable,'Data',TimeTable)
     
    780782
    781783%% enable j index visibilitycellfun(@isempty,regexp(PairString,'^j'))
    782 state='off';
     784% state='off';
    783785check_jindex=~cellfun(@isempty,SeriesData.j1_series); %look for non empty j indices
    784786if isempty(find(check_jindex))
     
    16351637    [fid,errormsg] =fopen([ACTION '.m']);
    16361638    InputText=textscan(fid,'%s',1,'delimiter','\n');
    1637     fclose(fid)
     1639    fclose(fid);
    16381640    set(handles.ActionName,'ToolTipString',InputText{1}{1})% put the first line of the selected function as tooltip help
    16391641end
     
    18541856function CheckObject_Callback(hObject, eventdata, handles)
    18551857%------------------------------------------------------------------------
    1856 % SeriesData=get(handles.series,'UserData');
    18571858value=get(handles.CheckObject,'Value');
    18581859if value
Note: See TracChangeset for help on using the changeset viewer.