source: issm/oecreview/Archive/18296-19100/ISSM-18319-18320.diff@ 19102

Last change on this file since 19102 was 19102, checked in by Mathieu Morlighem, 10 years ago

NEW: added 18296-19100

File size: 689 bytes
  • ../trunk-jpl/src/m/plot/plot_section.m

     
    5252                if exist(options,'resolution'),
    5353                        resolution=getfieldvalue(options,'resolution');
    5454                else %Default resolution
    55                         resolution=[1000 10*md.mesh.numberoflayers];
     55                        if is2d,
     56                                resolution=[1000 1];
     57                        else
     58                                resolution=[1000 10*md.mesh.numberoflayers];
     59                        end
    5660                        disp(['plot_section warning: no resolution specified, use default resolution: [horizontal_resolution vertical_resolution]=[' num2str(resolution)  ']']);
    5761                end
    5862
Note: See TracBrowser for help on using the repository browser.