Changeset 22921
- Timestamp:
- 07/13/18 14:09:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/shp/shpread.m
r19183 r22921 1 function Struct=shpread(filename )1 function Struct=shpread(filename,varargin) 2 2 %SHPREAD - read a shape file and build a Structure 3 3 % … … 18 18 % 19 19 % See also EXPDOC, EXPWRITEASVERTICES 20 21 %recover options 22 options=pairoptions(varargin{:}); 20 23 21 24 %some checks … … 102 105 end 103 106 107 invert=getfieldvalue(options,'invert',0); 108 if invert, 109 for i=1:length(Struct), 110 Struct(i).x=flipud(Struct(i).x); 111 Struct(i).y=flipud(Struct(i).y); 112 end 104 113 end 114 115 end
Note:
See TracChangeset
for help on using the changeset viewer.