Changeset 179 for trunk/src/get_field.m


Ignore:
Timestamp:
Jan 9, 2011, 12:56:28 PM (13 years ago)
Author:
sommeria
Message:

various bug repairs, in particular for 3D fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_field.m

    r150 r179  
    796796function RUN_Callback(hObject, eventdata, handles)
    797797%---------------------------------------------------------
    798 figstring=get(handles.list_fig,'String');
    799 if isequal(figstring,{'uvmat'})
     798figcell=get(handles.list_fig,'String');
     799index=get(handles.list_fig,'value');
     800figstring=figcell{index};
     801if isequal(figstring,'uvmat')
    800802    huvmat=findobj(allchild(0),'tag','uvmat');
    801803    hhuvmat=guidata(huvmat);
    802     uvmat('run0_Callback',hObject,eventdata,hhuvmat); %file input with xml reading  in uvmat, show the image in phys coordinates
     804    uvmat('run0_Callback',hObject,eventdata,hhuvmat); % display field in uvmat
    803805else
     806    huvmat=findobj(allchild(0),'tag','uvmat');
     807    delete(huvmat)%
    804808    index=get(handles.ACTION,'Value');
    805809    list_func=get(handles.ACTION,'UserData');
Note: See TracChangeset for help on using the changeset viewer.