Changeset 955 for trunk/src/uvmat.m
- Timestamp:
- Jun 22, 2016, 7:54:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/uvmat.m
r954 r955 962 962 data.CoordUnit=UvData.Field.CoordUnit; 963 963 end 964 if isfield(UvData.Field,'CoordMesh')&&~isempty(UvData.Field.CoordMesh)&&~strcmp(data.Type,'plane_z') 965 data.RangeX=[UvData.Field.XMin UvData.Field.XMax]; 964 if isfield(UvData.Field,'CoordMesh')&&~isempty(UvData.Field.CoordMesh) 965 %data.RangeX=[UvData.Field.XMin UvData.Field.XMax]; 966 data.DX=UvData.Field.CoordMesh; 967 data.DY=UvData.Field.CoordMesh; 966 968 switch data.Type 967 969 case {'line','polyline','points'} … … 985 987 data.RangeX=UvData.Field.CoordMesh; 986 988 data.RangeY=UvData.Field.CoordMesh; 989 case 'plane_z' 990 data.Angle=[0 0 0]; 991 data.DX=10*UvData.Field.CoordMesh; 992 data.DY=10*UvData.Field.CoordMesh; 993 data.RangeZ=UvData.Field.CoordMesh; 987 994 otherwise 988 995 data.RangeY=[UvData.Field.YMin UvData.Field.YMax]; 989 996 end 990 data.DX=UvData.Field.CoordMesh;991 data.DY=UvData.Field.CoordMesh;992 997 end 993 998 if isfield(UvData.Field,'ProjModeRequest')
Note: See TracChangeset
for help on using the changeset viewer.