source: issm/oecreview/Archive/24684-25833/ISSM-24744-24745.diff

Last change on this file was 25834, checked in by Mathieu Morlighem, 4 years ago

CHG: added 24684-25833

File size: 661 bytes
  • ../trunk-jpl/src/m/plot/applyoptions.m

     
    5050%axis
    5151set(gca,'FontSize',getfieldvalue(options,'axisfontsize',fontsize));;
    5252if exist(options,'axis')
    53         eval(['axis ' getfieldvalue(options,'axis')]);
     53        axisopts = getfieldvalue(options,'axis');
     54        if ischar(axisopts) & contains(axisopts,' ');
     55                axisopts = strsplit(axisopts);
     56                axis(axisopts{:});
     57        else
     58                axis(axisopts);
     59        end
    5460else
    5561        if strcmp(domaintype(md.mesh),'3D'),
    5662                if ~exist(options,'layer'),
Note: See TracBrowser for help on using the repository browser.