Changeset 537 for trunk/src/mouse_motion.m
- Timestamp:
- Sep 3, 2012, 7:15:36 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r530 r537 135 135 VarName=Field.ListVarName{CellInfo{icell}.VarIndex(ivar)}; 136 136 VarVal=Field.(VarName)(ivec); 137 var_text=[VarName '=' num2str(VarVal, 3) ','];137 var_text=[VarName '=' num2str(VarVal,4) ',']; 138 138 if isequal(ivar,CellInfo{icell}.CoordIndex(end))||isequal(ivar,CellInfo{icell}.CoordIndex(end-1))||isequal(ivar,CellInfo{icell}.CoordIndex(1)) 139 139 text_displ_1=[text_displ_1 var_text]; … … 181 181 yName='y'; 182 182 end 183 text_displ_1=[xName '=' num2str(xy(1,1), 3) ', ' yName '=' num2str(xy(1,2),3) ','];183 text_displ_1=[xName '=' num2str(xy(1,1),4) ', ' yName '=' num2str(xy(1,2),4) ',']; 184 184 end 185 185 %display the z coordinate if defined by the projection plane … … 203 203 end 204 204 if ~isempty(z) 205 text_displ_1=[text_displ_1 ' z=' num2str(z, 3)];205 text_displ_1=[text_displ_1 ' z=' num2str(z,4)]; 206 206 end 207 207 % case of PIV correlation display
Note: See TracChangeset
for help on using the changeset viewer.