Changeset 970 for trunk/src/mouse_motion.m
- Timestamp:
- Nov 9, 2016, 7:12:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r966 r970 215 215 text_displ_1=[xName '=' num2str(xy(1,1),4) ', ' yName '=' num2str(xy(1,2),4) ',']; 216 216 end 217 %display the z coordinateif defined by the projection plane217 %display the original phys x,y,z coordinates if defined by the projection plane 218 218 if isfield(Field,'ProjObjectType') && strcmp(Field.ProjObjectType,'plane') && isfield(Field,'ProjObjectCoord') && length(Field.ProjObjectCoord)>=3 219 pos=[xy(1,1) xy(1,2) 0]; 219 pos=[xy(1,1) xy(1,2) 0];%coordinates on the graph 220 220 if isfield(Field,'ProjObjectAngle')&&~isequal(Field.ProjObjectAngle,[0 0 0]) 221 221 om=norm(Field.ProjObjectAngle);%norm of rotation angle in radians
Note: See TracChangeset
for help on using the changeset viewer.