Changeset 611 for trunk/src/series.m


Ignore:
Timestamp:
Apr 18, 2013, 9:02:03 AM (8 years ago)
Author:
sommeria
Message:

problem of time display repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r610 r611  
    764764    MaxIndex_i=MaxIndexTable{iview,1};
    765765    MaxIndex_j=MaxIndexTable{iview,2};
    766     if isempty(MinIndex_j)% only i index
    767         if MinIndex_i>0
    768             TimeTable{iview,1}=time(MinIndex_i+1);
    769         end
    770         TimeTable{iview,2}=time(first_i+1);
    771         TimeTable{iview,3}=time(last_i+1);
    772         TimeTable{iview,4}=time(MaxIndex_i+1);
    773     elseif ~isempty(time)
    774         if MinIndex_i>0
    775             TimeTable{iview,1}=time(MinIndex_i,MinIndex_j);
     766%     if isempty(MinIndex_j)% only i index
     767%         TimeTable{iview,1}=time(MinIndex_i+1,2);
     768%         TimeTable{iview,2}=time(first_i+1,2);
     769%         TimeTable{iview,3}=time(last_i+1,2);
     770%         TimeTable{iview,4}=time(MaxIndex_i+1,2);
     771    if ~isempty(time)
     772        TimeTable{iview,1}=time(MinIndex_i+1,MinIndex_j+1);
     773        if size(time)>=[first_i+1 first_j+1]
     774        TimeTable{iview,2}=time(first_i+1,first_j+1);
    776775        end
    777776        if size(time)>=[last_i+1 last_j+1]
    778             TimeTable{iview,2}=time(first_i+1,first_j+1);
    779777            TimeTable{iview,3}=time(last_i+1,last_j+1);
    780778        end
     
    866864% y=(0.5:nbview-0.5)*Position(4)/nbview;
    867865range_y=max(1,floor(Position(4)/nbview));
    868 CData=zeros(nbview*range_y,Position(3));
     866CData=zeros(nbview*range_y,floor(Position(3)));
    869867for iview=1:nbview
    870868    ind_y=1+(iview-1)*range_y:iview*range_y;
Note: See TracChangeset for help on using the changeset viewer.