Changeset 538 for trunk/src/read_field.m


Ignore:
Timestamp:
Sep 3, 2012, 11:53:30 PM (9 years ago)
Author:
sommeria
Message:

bug corrected in get_field to get multiple curves in 1D mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r534 r538  
    8484            Role{numel(ListVar)}='ancillary';% scalar used for color vector (not projected)
    8585        end
    86         [Field,var_detect,ichoice]=nc2struct(FileName,[ParamIn.Coord_x ParamIn.Coord_y ListVar]);
     86        [Field,var_detect,ichoice]=nc2struct(FileName,[ParamIn.Coord_x (ParamIn.Coord_y)' ListVar]);
    8787        if isfield(Field,'Txt')
    8888            errormsg=Field.Txt;
Note: See TracChangeset for help on using the changeset viewer.