Changeset 178 for trunk/src/uvmat.m


Ignore:
Timestamp:
Jan 7, 2011, 6:28:11 PM (14 years ago)
Author:
sommeria
Message:

condition on status in civ, change of viw_field by uvmat, bug correction in uvmat in case of input file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/uvmat.m

    r177 r178  
    304304set(handles.transform_fct,'String',menu_str)
    305305set(handles.transform_fct,'UserData',fct_handle)% store the list of path in UserData of ACTION
    306  
     306set(handles.uvmat,'UserData',UvData)
    307307%initiates menu of vector colors
    308308list_menu=calc_field;
     
    347347        display_file_name(hObject, eventdata, handles,inputfile)
    348348        testinputfield=1;
    349     else
    350         UvData.TestInputFile=0;
     349%     else
     350%         UvData.TestInputFile=0;
    351351    end
    352352    if ~isempty(Field)
     
    356356       
    357357        % set the colorbar position on the interface:
    358         UvData.PosColorbar=[0.805 0.022 0.019 0.445];
     358       % UvData.PosColorbar=[0.805 0.022 0.019 0.445];
    359359    elseif ischar(input)
    360360        scan_i_Callback(handles.scan_i, eventdata, handles);       
     
    374374   end
    375375end
    376 UvData.NewSeries=1;
    377 set(hObject,'UserData',UvData)
     376% UvData.NewSeries=1;
     377set(handles.uvmat,'UserData',UvData)
    378378if testinputfield
    379379    %delete drawn objects
Note: See TracChangeset for help on using the changeset viewer.