Changeset 515 for trunk/src/plot_field.m


Ignore:
Timestamp:
Aug 15, 2012, 11:36:12 PM (9 years ago)
Author:
sommeria
Message:

improvement of calc-field and combination of two fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r512 r515  
    122122    return
    123123end
    124 index_2D=find(NbDim==2,2);%find 2D fields (at most 2)
     124index_2D=find(NbDim==2);%find 2D fields
    125125index_3D=find(NbDim>2,1);
    126126if ~isempty(index_3D)
     
    560560    if ~isempty(ivar_U) && ~isempty(ivar_V)% vector components detected
    561561        if test_vec
    562             errormsg='error in plot_field: attempt to plot two vector fields';
     562            errormsg='error in plot_field: attempt to plot two vector fields: to get the difference project on a plane with mode interp';
    563563            return
    564564        else
Note: See TracChangeset for help on using the changeset viewer.