Ignore:
Timestamp:
05/01/15 12:36:45 (10 years ago)
Author:
Mathieu Morlighem
Message:

BUG: removed strsplit since it is conflicting with matlab's since 2013

Location:
issm/trunk-jpl/src/m/plot
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_tensor_components.m

    r17687 r19336  
    6969        %apply options
    7070        if ismember('_',type) %user plotet stress_tensor
    71                 strings=strsplit(type,'_');
     71                strings=strsplit_strict(type,'_');
    7272                string=strings{1};
    7373        else %default plot: user requested stress
  • issm/trunk-jpl/src/m/plot/plot_tensor_principal.m

    r17686 r19336  
    6767%apply options
    6868if ismember('_',type) %user plotet stress_tensor
    69         strings=strsplit(type,'_');
     69        strings=strsplit_strict(type,'_');
    7070        string=strings{1};
    7171else %default plot: user requested stress
  • issm/trunk-jpl/src/m/plot/plot_tensor_principalaxis.m

    r19083 r19336  
    8989
    9090%apply options
    91 strings=strsplit(type,'_');
     91strings=strsplit_strict(type,'_');
    9292string=strings{1};
    9393options=addfielddefault(options,'title',[upper(string(1)) string(2:end) ' principal axis ' type(end)]);
  • issm/trunk-jpl/src/m/plot/plot_vstime.m

    r17718 r19336  
    66%getting the variable structure
    77datastruct  = getfieldvalue(options,'Input');
    8 structnames = strsplit(datastruct,'.');
     8structnames = strsplit_strict(datastruct,'.');
    99
    1010%getting the position of the to be ploted point
Note: See TracChangeset for help on using the changeset viewer.