Changeset 434 for trunk/src/get_field.m


Ignore:
Timestamp:
May 29, 2012, 11:02:08 PM (12 years ago)
Author:
sommeria
Message:

corrections in the use of get_field
test_tps introduced, to test thin plate shell functions
tps-eval_dxy corrected (bug on the calculation of the derivatives fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field.m

    r363 r434  
    5656%% Update handles structure
    5757guidata(hObject, handles);
    58 
    59 %%activate the mouse action function: visualise the current field on work space by right click action
    60 %set(hObject,'WindowButtonUpFcn',{@mouse_up_gui,handles})
     58set(hObject,'WindowButtonDownFcn',{'mouse_down'}) % allows mouse action with right button (zoom for uicontrol display)
    6159
    6260%% prepare the list of RUN fcts and set their paths
     
    144142    end
    145143end
     144
     145%% put the GUI on the lower right of the sceen
     146pos_view_field=get(hObject,'Position');
     147ScreenSize=get(0,'ScreenSize');
     148pos_view_field(1)=ScreenSize(1)+ScreenSize(3)-pos_view_field(3);
     149pos_view_field(2)=ScreenSize(2);
     150set(hObject,'Position',pos_view_field)
    146151
    147152%% remove already opened get_field GUI with name get_field
Note: See TracChangeset for help on using the changeset viewer.