Changeset 7028 for issm/trunk/src/m/model/plot/processmesh.m
- Timestamp:
- 01/12/11 08:09:22 (15 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  issm/trunk/src/m/model/plot/processmesh.m (modified) (2 diffs)
 
Legend:
- Unmodified
- Added
- Removed
- 
      issm/trunk/src/m/model/plot/processmesh.mr5024 r7028 14 14 if (isempty(data) | ~isstruct(data)), 15 15 %first load x,y, etc ... to speed up plot 16 x=md.x; 17 x2d=md.x2d; 18 y=md.y; 19 y2d=md.y2d; 20 z=md.z; 21 z2d=md.z2d; 22 elements2d=md.elements2d; 23 elements=md.elements; 24 elements_type2d=md.elements_type2d; 16 17 if ~strcmpi(getfieldvalue(options,'coord','xy'),'latlon'), 18 x=md.x; 19 x2d=md.x2d; 20 y=md.y; 21 y2d=md.y2d; 22 else 23 x=md.long; 24 x2d=md.x2d; 25 y=md.lat; 26 y2d=md.y2d; 27 end 28 z=md.z; 29 z2d=md.z2d; 30 elements2d=md.elements2d; 31 elements=md.elements; 32 elements_type2d=md.elements_type2d; 25 33 26 34 %is it a 2d plot? … … 39 47 %layer projection? 40 48 if getfieldvalue(options,'layer',0)>=1, 49 if strcmpi(getfieldvalue(options,'coord','xy'),'latlon'), 50 error('processmesh error message: cannot work with 3D meshes for now'); 51 end 41 52 %we modify the mesh temporarily to a 2d mesh from which the 3d mesh was extruded. 42 53 x=x2d; 
  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)
