Changeset 18952
- Timestamp:
- 12/05/14 14:43:27 (11 years ago)
- File:
-
- 1 edited
-
issm/trunk-jpl/src/m/plot/processmesh.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/processmesh.m
r18950 r18952 21 21 end 22 22 23 if ~strcmpi(getfieldvalue(options,'coord','xy'),'latlon'),24 x=md.mesh.x;25 x2d=md.mesh.x2d; %if isprop(md.mesh,'x2d'), x2d=md.mesh.x2d; end26 y=md.mesh.y;27 y2d=md.mesh.y2d; %if isprop(md.mesh,'y2d'), y2d=md.mesh.y2d; end28 else29 x=md.mesh.long;30 y=md.mesh.lat;31 end23 if ~strcmpi(getfieldvalue(options,'coord','xy'),'latlon'), 24 x=md.mesh.x; 25 if isprop(md.mesh,'x2d'), x2d=md.mesh.x2d; end 26 y=md.mesh.y; 27 if isprop(md.mesh,'y2d'), y2d=md.mesh.y2d; end 28 else 29 x=md.mesh.long; 30 y=md.mesh.lat; 31 end 32 32 33 33 if isprop(md.mesh,'z'), … … 41 41 end 42 42 43 elements2d=md.mesh.elements2d;%if isprop(md.mesh,'elements2d'), elements2d=md.mesh.elements2d; end44 elements=md.mesh.elements;43 if isprop(md.mesh,'elements2d'), elements2d=md.mesh.elements2d; end 44 elements=md.mesh.elements; 45 45 46 46 %is it a 2d plot?
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)