Changeset 613 for trunk/src/geometry_calib.m
- Timestamp:
- Apr 19, 2013, 8:26:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/geometry_calib.m
r591 r613 89 89 set(hObject,'WindowButtonDownFcn',{'mouse_alt_gui',handles}) % allows mouse action with right button (zoom for uicontrol display) 90 90 91 %set the position of the interface 92 if exist('pos','var')&& length(pos)>=4 93 set(hObject,'Position',pos); 94 end 91 %% position 92 set(0,'Unit','points') 93 ScreenSize=get(0,'ScreenSize');% get the size of the screen, to put the fig on the upper right 94 Width=350;% fig width in points (1/72 inch) 95 Height=min(0.9*ScreenSize(4),700); 96 Left=ScreenSize(3)- Width-40; %right edge close to the right, with margin=40 97 Bottom=ScreenSize(4)-Height-40; %put fig at top right 98 set(handles.geometry_calib,'Unit','points') 99 set(handles.geometry_calib,'Position',[Left Bottom Width Height]) 100 101 % %set the position of the interface 102 % if exist('pos','var')&& length(pos)>=4 103 % set(hObject,'Position',pos); 104 % end 95 105 96 106 %set menu of calibration options
Note: See TracChangeset
for help on using the changeset viewer.