Changeset 9241


Ignore:
Timestamp:
08/10/11 08:16:22 (14 years ago)
Author:
Mathieu Morlighem
Message:

Fixed bad sar coordinates when calling InterpFromMeshToGrid

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/plot/plot_overlay.m

    r9226 r9241  
    4343
    4444%InterpFromMeshToGrid
    45 cornereast =min(xlim); cornernorth=max(ylim);
    46 xspacing=(max(xlim)-min(xlim))/(length(md.sarxm));
    47 yspacing=(max(ylim)-min(ylim))/(length(md.sarym));
     45cornereast=min(md.sarxm); cornernorth=max(md.sarym);
     46xspacing=(max(md.sarxm)-min(md.sarxm))/(length(md.sarxm));
     47yspacing=(max(md.sarym)-min(md.sarym))/(length(md.sarym));
    4848nlines=length(md.sarym);
    4949ncols =length(md.sarxm);
Note: See TracChangeset for help on using the changeset viewer.