Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r177 r178 783 783 set(handles.BATCH,'Enable','On') 784 784 set(handles.BATCH,'BackgroundColor',[1 0 0]) 785 if isfield(handles,'status') 785 786 set(handles.status,'Value',0);%suppress status display 786 787 status_Callback(hObject, eventdata, handles) 788 end 787 789 788 790 %% store the root input filename for future opening … … 1563 1565 1564 1566 % start status callback to visualise results 1567 if isfield(handles,'status') 1565 1568 set(handles.status,'Value',1);%suppress status display 1566 1569 status_Callback(hObject, eventdata, handles) 1570 end 1567 1571 1568 1572 %------------------------------------------------------------------------ … … 1578 1582 1579 1583 % start status callback to visualise results 1584 if isfield(handles,'status') 1580 1585 set(handles.status,'Value',1);%suppress status display 1581 1586 status_Callback(hObject, eventdata, handles) 1587 end 1582 1588 %------------------------------------------------------------------------ 1583 1589 % --- Lauch command called by RUN and BATCH: remote processing … … 1633 1639 1634 1640 %% reinitialise status callback 1641 if isfield(handles,'status') 1635 1642 set(handles.status,'Value',0);%suppress status display 1636 1643 status_Callback(hObject, eventdata, handles) 1644 end 1637 1645 1638 1646 %% set the list of files and check them … … 4715 4723 ind_dot=findstr(filename,'...'); 4716 4724 filename=filename(1:ind_dot-1); 4717 filename=fullfile(rootroot,filename) ;4725 filename=fullfile(rootroot,filename) 4718 4726 if exist(filename,'file')%visualise the vel field if it exists 4719 [Field,VelTypeOut]=read_civxdata(filename); 4720 view_field(Field) 4727 %[Field,VelTypeOut]=read_civxdata(filename); 4728 %view_field(Field) 4729 uvmat(filename) 4730 set(gcbo,'Value',1) 4721 4731 end 4722 4732 -
trunk/src/uvmat.m
r177 r178 304 304 set(handles.transform_fct,'String',menu_str) 305 305 set(handles.transform_fct,'UserData',fct_handle)% store the list of path in UserData of ACTION 306 306 set(handles.uvmat,'UserData',UvData) 307 307 %initiates menu of vector colors 308 308 list_menu=calc_field; … … 347 347 display_file_name(hObject, eventdata, handles,inputfile) 348 348 testinputfield=1; 349 else350 UvData.TestInputFile=0;349 % else 350 % UvData.TestInputFile=0; 351 351 end 352 352 if ~isempty(Field) … … 356 356 357 357 % 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]; 359 359 elseif ischar(input) 360 360 scan_i_Callback(handles.scan_i, eventdata, handles); … … 374 374 end 375 375 end 376 UvData.NewSeries=1;377 set(h Object,'UserData',UvData)376 % UvData.NewSeries=1; 377 set(handles.uvmat,'UserData',UvData) 378 378 if testinputfield 379 379 %delete drawn objects
Note: See TracChangeset
for help on using the changeset viewer.