Changeset 750
- Timestamp:
- Apr 24, 2014, 8:43:54 AM (11 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_field.m
r748 r750 603 603 604 604 %% set default coord selection 605 if numel(find(test_coord))>3606 SwitchVarIndexTime=get(handles.SwitchVarIndexTime,'String');607 if numel(SwitchVarIndexTime)<3608 SwitchVarIndexTime=[SwitchVarIndexTime;'matrix_index'];609 set(handles.SwitchVarIndexTime,'String',SwitchVarIndexTime)610 end611 set(handles.SwitchVarIndexTime,'Value',3)% the last dim must be considered as time612 SwitchVarIndexTime_Callback([], [], handles)613 end605 % if numel(find(test_coord))>3 606 % SwitchVarIndexTime=get(handles.SwitchVarIndexTime,'String'); 607 % if numel(SwitchVarIndexTime)<3 608 % SwitchVarIndexTime=[SwitchVarIndexTime;'matrix_index']; 609 % set(handles.SwitchVarIndexTime,'String',SwitchVarIndexTime) 610 % end 611 % set(handles.SwitchVarIndexTime,'Value',3)% the last dim must be considered as time 612 % SwitchVarIndexTime_Callback([], [], handles) 613 % end 614 614 615 615 coord_val=[0 0]; -
trunk/src/uvmat.m
r748 r750 2678 2678 ObjectData.A=flag_mask.*double(ObjectData.A); 2679 2679 ObjectData.A=feval(AClass,ObjectData.A); 2680 end 2680 end 2681 set(handles.uvmat,'UserData',UvData) 2681 2682 if ~isempty(ObjectData) 2682 2683 %PlotType='none'; %default … … 2703 2704 end 2704 2705 2705 set(handles.uvmat,'UserData',UvData)2706 2707 2706 %% update the mask 2708 2707 if isequal(get(handles.CheckMask,'Value'),1)%if the mask option is on … … 2910 2909 function CheckFixAspectRatio_Callback(hObject, eventdata, handles) 2911 2910 %------------------------------------------------------------------------ 2912 2913 % if get(handles.CheckFixAspectRatio,'Value') 2914 update_plot(handles); 2915 % else 2916 % update_plot(handles); 2917 % end 2911 update_plot(handles); 2918 2912 2919 2913 %------------------------------------------------------------------------ … … 5677 5671 5678 5672 5679 % --- Executes on selection change in SwitchCoordIndex.5680 function SwitchCoordIndex_Callback(hObject, eventdata, handles)5681 % hObject handle to SwitchCoordIndex (see GCBO)5682 % eventdata reserved - to be defined in a future version of MATLAB5683 % handles structure with handles and user data (see GUIDATA)5684 5685 % Hints: contents = cellstr(get(hObject,'String')) returns SwitchCoordIndex contents as cell array5686 % contents{get(hObject,'Value')} returns selected item from SwitchCoordIndex
Note: See TracChangeset
for help on using the changeset viewer.