Changeset 7081 for issm/trunk


Ignore:
Timestamp:
01/14/11 08:10:37 (14 years ago)
Author:
Eric.Larour
Message:

quick hack to handle P0 interpolation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/processdata.m

    r6911 r7081  
    2121        if (isfield(data,'index') & isfield(data,'value')),
    2222                data=data.value;
     23                if size(data,2)==1,
     24                        data=repmat(data,1,3);
     25                end
    2326                data=data';
    2427                data=data(:);
Note: See TracChangeset for help on using the changeset viewer.