Changeset 657 for trunk/src/set_object.m
- Timestamp:
- Jul 3, 2013, 12:07:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/set_object.m
r650 r657 80 80 81 81 %% position 82 set(0,'Unit','p oints')82 set(0,'Unit','pixels') 83 83 ScreenSize=get(0,'ScreenSize');% get the size of the screen, to put the fig on the upper right 84 Width=300;% fig width in p oints (1/72 inch)85 Height= min(0.8*ScreenSize(4),500);84 Width=300;% fig width in pixels 85 Height=600; 86 86 Left=ScreenSize(3)- Width-40; %right edge close to the right, with margin=40 87 87 Bottom=ScreenSize(4)-Height-40; %put fig at top right 88 set(handles.set_object,'Unit','p oints')88 set(handles.set_object,'Unit','pixels') 89 89 set(handles.set_object,'Position',[Left Bottom Width Height]) 90 90
Note: See TracChangeset
for help on using the changeset viewer.