Index: /trunk/src/get_field.m
===================================================================
--- /trunk/src/get_field.m	(revision 749)
+++ /trunk/src/get_field.m	(revision 750)
@@ -603,13 +603,13 @@
 
 %% set default coord selection
-if numel(find(test_coord))>3
-    SwitchVarIndexTime=get(handles.SwitchVarIndexTime,'String');
-    if numel(SwitchVarIndexTime)<3
-        SwitchVarIndexTime=[SwitchVarIndexTime;'matrix_index'];
-        set(handles.SwitchVarIndexTime,'String',SwitchVarIndexTime)
-    end
-    set(handles.SwitchVarIndexTime,'Value',3)% the last dim must be considered as time
-    SwitchVarIndexTime_Callback([], [], handles)
-end
+% if numel(find(test_coord))>3
+%     SwitchVarIndexTime=get(handles.SwitchVarIndexTime,'String');
+%     if numel(SwitchVarIndexTime)<3
+%         SwitchVarIndexTime=[SwitchVarIndexTime;'matrix_index'];
+%         set(handles.SwitchVarIndexTime,'String',SwitchVarIndexTime)
+%     end
+%     set(handles.SwitchVarIndexTime,'Value',3)% the last dim must be considered as time
+%     SwitchVarIndexTime_Callback([], [], handles)
+% end
 
 coord_val=[0 0];
Index: /trunk/src/uvmat.m
===================================================================
--- /trunk/src/uvmat.m	(revision 749)
+++ /trunk/src/uvmat.m	(revision 750)
@@ -2678,5 +2678,6 @@
             ObjectData.A=flag_mask.*double(ObjectData.A);
             ObjectData.A=feval(AClass,ObjectData.A);
-        end
+        end       
+        set(handles.uvmat,'UserData',UvData)
         if ~isempty(ObjectData)
             %PlotType='none'; %default
@@ -2703,6 +2704,4 @@
     end
     
-    set(handles.uvmat,'UserData',UvData)
-    
     %% update the mask
     if isequal(get(handles.CheckMask,'Value'),1)%if the mask option is on
@@ -2910,10 +2909,5 @@
 function CheckFixAspectRatio_Callback(hObject, eventdata, handles)
 %------------------------------------------------------------------------
-
-% if get(handles.CheckFixAspectRatio,'Value')
-    update_plot(handles);
-% else
-%     update_plot(handles);
-% end
+ update_plot(handles);
 
 %------------------------------------------------------------------------
@@ -5677,10 +5671,2 @@
 
 
-% --- Executes on selection change in SwitchCoordIndex.
-function SwitchCoordIndex_Callback(hObject, eventdata, handles)
-% hObject    handle to SwitchCoordIndex (see GCBO)
-% eventdata  reserved - to be defined in a future version of MATLAB
-% handles    structure with handles and user data (see GUIDATA)
-
-% Hints: contents = cellstr(get(hObject,'String')) returns SwitchCoordIndex contents as cell array
-%        contents{get(hObject,'Value')} returns selected item from SwitchCoordIndex
