Ignore:
Timestamp:
06/18/20 00:04:23 (5 years ago)
Author:
Eric.Larour
Message:

CHG: added latlon plot for 3Dsurface meshes.

File:
1 edited

Legend:

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

    r21958 r25058  
    2424if strcmp(domaintype(md.mesh),'3Dsurface'),
    2525        [x y z elements is2d isplanet] = processmesh(md.mesh,options);
     26        if strcmpi(getfieldvalue(options,'coord','xy'),'latlon'),
     27                x=md.mesh.long;
     28                y=md.mesh.lat;
     29                elements=delaunay(x,y);
     30                z=md.mesh.lat; z(:)=0;
     31        end
    2632        return;
    2733end
Note: See TracChangeset for help on using the changeset viewer.