Changeset 657 for trunk/src/set_object.m


Ignore:
Timestamp:
Jul 3, 2013, 12:07:26 PM (11 years ago)
Author:
sommeria
Message:

a few bugs corrected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/set_object.m

    r650 r657  
    8080
    8181%% position
    82 set(0,'Unit','points')
     82set(0,'Unit','pixels')
    8383ScreenSize=get(0,'ScreenSize');% get the size of the screen, to put the fig on the upper right
    84 Width=300;% fig width in points (1/72 inch)
    85 Height=min(0.8*ScreenSize(4),500);
     84Width=300;% fig width in pixels
     85Height=600;
    8686Left=ScreenSize(3)- Width-40; %right edge close to the right, with margin=40
    8787Bottom=ScreenSize(4)-Height-40; %put fig at top right
    88 set(handles.set_object,'Unit','points')
     88set(handles.set_object,'Unit','pixels')
    8989set(handles.set_object,'Position',[Left Bottom Width Height])
    9090
Note: See TracChangeset for help on using the changeset viewer.