Changeset 238 for trunk/src/uvmat.m


Ignore:
Timestamp:
Apr 18, 2011, 10:42:29 PM (13 years ago)
Author:
sommeria
Message:

various bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r236 r238  
    24272427   UvData.Field=Field{1};
    24282428end
    2429 
     2429UvData.Field
     2430max(max(UvData.Field.A))
     2431min(min(UvData.Field.A))
    24302432%% get bounds and mesh (needed for mouse action and to open set_object)
    24312433test_x=0;
     
    39273929set(handles.list_object_1,'Value',1)
    39283930set(handles.list_object_1,'String',{''})
    3929 set(handles.list_object_2,'Value',2)
     3931set(handles.list_object_2,'Value',1)
    39303932set(handles.list_object_2,'String',{''})
    39313933list_object_2_Callback(hObject, eventdata, handles)
     
    43064308function list_object_2_Callback(hObject, eventdata, handles)
    43074309%------------------------------------------------------------------------
    4308 list_str=get(handles.list_object_2,'String');
    4309 IndexObj=get(handles.list_object_2,'Value');
     4310list_str=get(handles.list_object_2,'String')
     4311IndexObj=get(handles.list_object_2,'Value')
    43104312if ischar(list_str) || isempty(list_str{IndexObj})% || strcmp(list_str{IndexObj},'...')
    43114313    hview_field=findobj(allchild(0),'Tag','view_field');
     
    47384740    param.index_fields_1=param.index_fields_1-1;
    47394741end
    4740 param.civ1=get(handles.VelType,'Value');
    4741 param.civ2=get(handles.civ2,'Value');
    4742 param.interp1=get(handles.interp1,'Value');
    4743 param.interp2=get(handles.interp2,'Value');
    4744 param.filter1=get(handles.filter1,'Value');
    4745 param.filter2=get(handles.filter2,'Value');
     4742% if isequal(get(handles.VelType,'Visible'),'on')
     4743%     param.VelTypeMenu=get(handles.VelType,'String');
     4744%     param.VelTypeIndex=get(handles.VelType,'Value');
     4745% end
     4746% param.civ1=get(handles.VelType,'Value');
     4747% param.civ2=get(handles.civ2,'Value');
     4748% param.interp1=get(handles.interp1,'Value');
     4749% param.interp2=get(handles.interp2,'Value');
     4750% param.filter1=get(handles.filter1,'Value');
     4751% param.filter2=get(handles.filter2,'Value');
    47464752param.menu_coord_str=get(handles.transform_fct,'String');
    47474753param.menu_coord_val=get(handles.transform_fct,'Value');
Note: See TracChangeset for help on using the changeset viewer.