Ignore:
Timestamp:
06/09/21 16:04:58 (4 years ago)
Author:
schlegel
Message:

CHG: use any instead of contains for older matlabs

File:
1 edited

Legend:

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

    r26219 r26314  
    5252if exist(options,'axis')
    5353        axisopts = getfieldvalue(options,'axis');
    54         if ischar(axisopts) & contains(axisopts,' ');
     54        if ischar(axisopts) & any(axisopts==' ');
    5555                axisopts = strsplit(axisopts);
    5656                axis(axisopts{:});
Note: See TracChangeset for help on using the changeset viewer.