Changeset 397 for trunk/src/plot_field.m


Ignore:
Timestamp:
Apr 26, 2012, 8:59:09 AM (9 years ago)
Author:
sommeria
Message:

civ_matlab and patch improved, changes in the management of interpolation (still in progress).
adapatation to movies (use of VideoReader?)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r389 r397  
    286286        if length(FieldData.VarAttribute)>=VarIndex(ivar)
    287287            VarAttribute=FieldData.VarAttribute{VarIndex(ivar)};
    288             if isfield(VarAttribute,'Role')&&strcmp(VarAttribute.Role,'ancillary')
     288            if isfield(VarAttribute,'Role')&&(strcmp(VarAttribute.Role,'ancillary')||strcmp(VarAttribute.Role,'coord_tps')...
     289                    ||strcmp(VarAttribute.Role,'vector_x_tps')||strcmp(VarAttribute.Role,'vector_y_tps'))
    289290                checkancillary=1;
    290291            end
     
    296297                VarValue=VarValue';
    297298            end
     299            if size(VarValue,1)==1
    298300            txt=[VarName '=' num2str(VarValue)];
    299301            txt_cell=[txt_cell;{txt}];
     302            end
    300303        end
    301304    end
Note: See TracChangeset for help on using the changeset viewer.